Inheritance: extends Okay
Example #1
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('WEIXIN_APPID') || !Configuration::deleteByName('WEIXIN_MCH_ID') || !Configuration::deleteByName('WEIXIN_KEY') || !Configuration::deleteByName('WEIXIN_NOTIFY_URL') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #2
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('CHEQUE_NAME') || !Configuration::deleteByName('CHEQUE_ADDRESS') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #3
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('NIMBLEPAYMENT_CLIENT_ID') || !Configuration::deleteByName('NIMBLEPAYMENT_CLIENT_SECRET') || !Configuration::deleteByName('NIMBLEPAYMENT_URLTPV') || !Configuration::deleteByName('NIMBLEPAYMENT_NAME') || !Configuration::deleteByName('NIMBLEPAYMENT_DESCRIPTION') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('PFC_API_USER') || !Configuration::deleteByName('PFC_API_BRANCH') || !Configuration::deleteByName('PFC_ENVIRONMENT') || !Configuration::deleteByName('PFC_CONCEPTO') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 /**
  * Runs the BluePay uninstallation process
  */
 public function uninstall()
 {
     include_once _PS_MODULE_DIR_ . '/bluepay/bluepay_uninstall.php';
     $bluepay_uninstall = new BluePayUninstall();
     $bluepay_uninstall->deleteConfiguration();
     return parent::uninstall();
 }
 /**
  * Perform uninstalation of PagSeguro module
  * 
  * @return boolean
  */
 public function uninstall()
 {
     if (!Configuration::deleteByName('PAGSEGURO_EMAIL') || !Configuration::deleteByName('PAGSEGURO_TOKEN') || !Configuration::deleteByName('PAGSEGURO_URL_REDIRECT') || !Configuration::deleteByName('PAGSEGURO_NOTIFICATION_URL') || !Configuration::deleteByName('PAGSEGURO_CHARSET') || !Configuration::deleteByName('PAGSEGURO_LOG_ACTIVE') || !Configuration::deleteByName('PAGSEGURO_LOG_FILELOCATION') || !Configuration::deleteByName('PS_OS_PAGSEGURO') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #7
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('PF_API_USER') || !Configuration::deleteByName('PF_API_BRANCH') || !Configuration::deleteByName('PF_ENVIRONMENT') || !Configuration::deleteByName('PF_NO_MAIL') || !Configuration::deleteByName('PF_EXCHANGE') || !Configuration::deleteByName('PF_INSTALLMENTS') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!parent::uninstall() || !Configuration::deleteByName('PAYU_LATAM_MERCHANT_ID') || !Configuration::deleteByName('PAYU_LATAM_ACCOUNT_ID') || !Configuration::deleteByName('PAYU_LATAM_API_KEY') || !Configuration::deleteByName('PAYU_LATAM_TEST') || !Configuration::deleteByName('PAYU_OS_PENDING') || !Configuration::deleteByName('PAYU_OS_FAILED') || !Configuration::deleteByName('PAYU_OS_REJECTED') || !Configuration::deleteByName('PAYU_LATAM_PUBLIC_KEY') || !Configuration::deleteByName('PAYU_LATAM_API_LOGIN')) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('ipay88_merchantCode') or !Configuration::deleteByName('ipay88_merchantKey') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('BEGATEWAY_SHOP_ID') or !Configuration::deleteByName('BEGATEWAY_SHOP_PASS') or !Configuration::deleteByName('BEGATEWAY_SHOP_PAYTYPE') or !Configuration::deleteByName('BEGATEWAY_DOMAIN_GATEWAY') or !Configuration::deleteByName('BEGATEWAY_DOMAIN_CHECKOUT') or !Db::getInstance()->Execute('DROP TABLE `' . _DB_PREFIX_ . 'begateway_transaction`') or !$this->unregisterHook('payment') or !$this->unregisterHook('backOfficeHeader') or !$this->unregisterHook('displayHeader') or !$this->unregisterHook('paymentReturn') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     return Configuration::deleteByName('PAYMENTSENSE_GATEWAYID') && Configuration::deleteByName('PAYMENTSENSE_GATEWAYPASS') && Configuration::deleteByName('PAYMENTSENSE_PSK') && Configuration::deleteByName('PAYMENTSENSE_DEBUG') && Configuration::deleteByName('PAYMENTSENSE_TRANSACTION_TYPE') && parent::uninstall();
     /* Blank line to retain line numbers in changelog*/
     /* Blank line to retain line numbers in changelog*/
     /* Blank line to retain line numbers in changelog*/
 }
Example #12
0
 public function uninstall()
 {
     if (!parent::uninstall() or !Configuration::deleteByName('PAYPAL_HEADER') or !Configuration::deleteByName('PAYPAL_SANDBOX') or !Configuration::deleteByName('PAYPAL_API_USER') or !Configuration::deleteByName('PAYPAL_API_PASSWORD') or !Configuration::deleteByName('PAYPAL_API_SIGNATURE') or !Configuration::deleteByName('PAYPAL_EXPRESS_CHECKOUT') or !Configuration::deleteByName('PAYPAL_INTEGRAL')) {
         return false;
     }
     return true;
 }
Example #13
0
 function after_processing_html($orderID)
 {
     $res = '';
     $order = ordGetOrder($orderID);
     $order_amount = roundf(PaymentModule::_convertCurrency($order['order_amount'], 0, $this->_getSettingValue('CONF_YANDEXCPP_TRANSCURRENCY')));
     $post_1 = array('TargetCurrency' => $this->_getSettingValue('CONF_YANDEXCPP_TARGETCURRENCY'), 'currencyID' => $this->_getSettingValue('CONF_YANDEXCPP_TARGETCURRENCY'), 'wbp_InactivityPeriod' => '2', 'wbp_ShopAddress' => 'wn1.paycash.ru:8828', 'wbp_ShopEncryptionKey' => 'hAAAEicBAHV6wr3pySqE3thhKHbjvyf4XCMxKc2nSj2u8K46i0dMIP8Wd2KJHkZuhGMWZGmYAp6wsb3XqZW5HKVpamQt+t9rwGNsSaVfeZb9DM5aodCpIMHhLA8gGPDIiG4+Q15X/7Zm3MJNGavZ8+eWAnlvS1M7c6eeLTNJ0CKIYd1yHXfU', 'wbp_ShopKeyID' => '4060341894', 'wbp_Version' => '1.0', 'wbp_CorrespondentID' => '8994748E663DE6B3C68D2D9931B079C74789D4B4', 'BankID' => $this->_getSettingValue('CONF_YANDEXCPP_BANKID'), 'TargetBankID' => $this->_getSettingValue('CONF_YANDEXCPP_TARGETBANKID'), 'PaymentTypeCD' => 'PC', 'ShopID' => $this->_getSettingValue('CONF_YANDEXCPP_SHOPID'), 'CustomerNumber' => $orderID, 'Sum' => $order_amount, 'CustName' => $order['shipping_firstname'] . ' ' . $order['shipping_lastname'], 'CustAddr' => '', 'CustEMail' => $order['customer_email'], 'OrderDetails' => '');
     $order_content = ordGetOrderContent($orderID);
     foreach ($order_content as $item) {
         $post_1['OrderDetails'] .= $item['name'] . "\r\n";
     }
     $implAddress = array('shipping_country', 'shipping_state', 'shipping_city', 'shipping_address');
     foreach ($implAddress as $k) {
         if ($order[$k]) {
             $post_1['CustAddr'] .= ', ' . $order[$k];
         }
     }
     $post_1['CustAddr'] = substr($post_1['CustAddr'], 1);
     $hidden_fields_html = '';
     reset($post_1);
     while (list($k, $v) = each($post_1)) {
         $hidden_fields_html .= '<input type="hidden" name="' . $k . '" value="' . $v . '" />' . "\n";
     }
     $processing_url = $this->_getSettingValue('CONF_YANDEXCPP_MODE') == 'test' ? 'http://demomoney.yandex.ru/select-wallet.xml' : 'http://money.yandex.ru/select-wallet.xml';
     $res = '
                             <form method="post" action="' . xHtmlSpecialChars($processing_url) . '" style="text-align:center;" id="payform">
                                     ' . $hidden_fields_html . '
                             </form><table cellspacing="0" cellpadding="0" class="fsttab"><tr><td><table cellspacing="0" cellpadding="0" class="sectb"><tr><td><a href="#" onclick="document.getElementById(\'payform\').submit(); return false">' . STRING_PAY_NOW . '</a></td></tr></table></td></tr></table>';
     return $res;
 }
Example #14
0
 /**
  * Uninstall module
  *
  * @see PaymentModule::uninstall()
  */
 public function uninstall()
 {
     if (!Configuration::deleteByName('SOFORTBANKING_USER_ID') || !Configuration::deleteByName('SOFORTBANKING_PROJECT_ID') || !Configuration::deleteByName('SOFORTBANKING_PROJECT_PW') || !Configuration::deleteByName('SOFORTBANKING_NOTIFY_PW') || !Configuration::deleteByName('SOFORTBANKING_BLOCK_LOGO') || !Configuration::deleteByName('SOFORTBANKING_OS_ERROR') || !Configuration::deleteByName('SOFORTBANKING_OS_ACCEPTED') || !Configuration::deleteByName('SOFORTBANKING_CPROTECT') || !Configuration::deleteByName('SOFORTBANKING_OS_ERROR_IGNORE') || !Configuration::deleteByName('SOFORTBANKING_OS_ACCEPTED_IGNORE') || !Configuration::deleteByName('SOFORTBANKING_REDIRECT') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #15
0
 function after_processing_html($orderID)
 {
     $res = '';
     $order = ordGetOrder($orderID);
     $order_amount = roundf(PaymentModule::_convertCurrency($order['order_amount'], 0, $this->_getSettingValue('CONF_CHRONOPAY_CURCODE')));
     $currency = currGetCurrencyByID($this->_getSettingValue('CONF_CHRONOPAY_CURCODE'));
     $zone_iso2 = $order['billing_state'];
     $countries = cnGetCountries(array('offset' => 0, 'CountRowOnPage' => 1000000), $count_row);
     foreach ($countries as $country) {
         if ($country['country_name'] == $order['billing_country']) {
             $country_iso3 = $country['country_iso_3'];
             $zones = znGetZones($country['countryID']);
             foreach ($zones as $zone) {
                 if ($zone['zone_name'] == $zone_iso2) {
                     $zone_iso2 = $zone['zone_code'];
                     break;
                 }
             }
             break;
         }
     }
     $post_1 = array('product_id' => $this->_getSettingValue('CONF_CHRONOPAY_PRODUCT_ID'), 'product_name' => CONF_SHOP_NAME, 'product_price' => $order_amount, 'product_price_currency' => $currency['currency_iso_3'], 'f_name' => $order['billing_firstname'], 's_name' => $order['billing_lastname'], 'street' => $order['billing_address'], 'city' => $order['billing_city'], 'state' => $zone_iso2, 'country' => $country_iso3, 'email' => $order['customer_email'], 'cb_url' => getTransactionResultURL('success'), 'cb_type' => 'P', 'decline_url' => getTransactionResultURL('failure'));
     $hidden_fields_html = '';
     reset($post_1);
     while (list($k, $v) = each($post_1)) {
         $hidden_fields_html .= '<input type="hidden" name="' . $k . '" value="' . $v . '" />' . "\n";
     }
     $res = '
                             <form method="post" action="' . xHtmlSpecialChars($this->processing_url) . '" style="text-align:center;">
                                     ' . $hidden_fields_html . '
                                     <input type="submit" value="' . CHRONOPAY_TXT_SUBMIT . '" />
                             </form>
                             ';
     return $res;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('mercadopago_CLIENT_ID') or !Configuration::deleteByName('mercadopago_CLIENT_SECRET') or !Configuration::deleteByName('mercadopago_CATEGORY') or !Configuration::deleteByName('mercadopago_TYPECHECKOUT') or !Configuration::deleteByName('mercadopago_SANDBOX') or !Configuration::deleteByName('mercadopago_URLPROCESS') or !Configuration::deleteByName('mercadopago_URLSUCCESFULL') or !Configuration::deleteByName('mercadopago_BTN') or !Configuration::deleteByName('mercadopago_METHODS') or !Configuration::deleteByName('mercadopago_INSTALLMENTS') or !Configuration::deleteByName('mercadopago_COUNTRY') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!$this->deleteBcashOrderStatus() || !$this->deleteDefaultBcashDiscounts() || !Configuration::deleteByName('PS_OS_BCASH_IN_PROGRESS') || !Configuration::deleteByName('PS_OS_BCASH_APPROVED') || !Configuration::deleteByName('PS_OS_BCASH_COMPLETED') || !Configuration::deleteByName('PS_OS_BCASH_IN_DISPUTE') || !Configuration::deleteByName('PS_OS_BCASH_REFUNDED') || !Configuration::deleteByName('PS_OS_BCASH_CANCELLED') || !Configuration::deleteByName('PS_OS_BCASH_CHARGEBACK') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('PayTM_MERCHANT_ID') or !Configuration::deleteByName('PayTM_SECRET_KEY') or !Configuration::deleteByName('PayTM_MODE') or !Configuration::deleteByName('PayTM_GATEWAY_URL') or !Configuration::deleteByName('PayTM_MERCHANT_INDUSTRY_TYPE') or !Configuration::deleteByName('PayTM_MERCHANT_CHANNEL_ID') or !Configuration::deleteByName('PayTM_MERCHANT_WEBSITE') or !Configuration::deleteByName('PayTM_ENABLE_CALLBACK') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('mercadopago_CLIENT_ID') or !Configuration::deleteByName('mercadopago_CLIENT_SECRET') or !Configuration::deleteByName('mercadopago_URLPROCESS') or !Configuration::deleteByName('mercadopago_URLSUCCESFULL') or !Configuration::deleteByName('mercadopago_BTN') or !Configuration::deleteByName('mercadopago_EXCLUDE') or !Configuration::deleteByName('mercadopago_COUNTRY') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #20
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('INPAY_API_KEY') || !Configuration::deleteByName('INPAY_SECRET_KEY') || !Configuration::deleteByName('INPAY_TEST_MODE') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #21
0
 public function install()
 {
     if (Tools::getValue('redirect') == "config") {
         return parent::install() && $this->registerHook('payment') && $this->registerHook('paymentReturn');
     }
     return parent::install() && $this->registerHook('payment') && $this->registerHook('paymentReturn') && $this->generateKeyPair();
 }
 public function uninstall()
 {
     if (!parent::uninstall() || !HipayLogger::DropTables() || !Configuration::deleteByName('HIPAY_API_USERNAME') || !Configuration::deleteByName('HIPAY_API_PASSWORD') || !Configuration::deleteByName('HIPAY_TEST_API_USERNAME') || !Configuration::deleteByName('HIPAY_TEST_API_PASSWORD') || !Configuration::deleteByName('HIPAY_TEST_MODE') || !Configuration::deleteByName('HIPAY_PAYMENT_MODE') || !Configuration::deleteByName('HIPAY_CHALLENGE_URL') || !Configuration::deleteByname('HIPAY_CSS_URL') || !Configuration::deleteByname('HIPAY_ALLOWED_CARDS') || !Configuration::deleteByname('HIPAY_TEMPLATE_MODE') || !Configuration::deleteByname('HIPAY_SELECTOR_MODE') || !Configuration::deleteByname('HIPAY_IFRAME_WIDTH') || !Configuration::deleteByname('HIPAY_IFRAME_HEIGHT') || !Configuration::deleteByname('HIPAY_ALLOWED_LOCAL_CARDS') || !Configuration::deleteByname('HIPAY_THREEDSECURE') || !Configuration::deleteByname('HIPAY_THREEDSECURE_AMOUNT') || !Configuration::deleteByname('HIPAY_MANUALCAPTURE') || !Configuration::deleteByname('HIPAY_MEMORIZE') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #23
0
 function uninstall()
 {
     Configuration::deleteByName('CHECKOUT_SID');
     Configuration::deleteByName('CHECKOUT_SECRET');
     Configuration::deleteByName('CHECKOUT_CURRENCIES');
     parent::uninstall();
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('SIGN2PAY_APPLICATION_TOKEN') || !Configuration::deleteByName('SIGN2PAY_MERCHANT_ID') || !Configuration::deleteByName('SIGN2PAY_API_TOKEN') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!Configuration::deleteByName('ALLIEDWALLET_MERCHANT_ID') || !Configuration::deleteByName('ALLIEDWALLET_SITE_ID') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 /**
  * Deletes settings from database.
  *
  * @return      boolean     Operation result (true if success).
  */
 public function uninstall()
 {
     if (!parent::uninstall()) {
         return false;
     }
     return $this->deleteConfigValues(array('PAYNETEASY_END_POINT', 'PAYNETEASY_LOGIN', 'PAYNETEASY_SIGNING_KEY', 'PAYNETEASY_SANDBOX_GATEWAY', 'PAYNETEASY_PRODUCTION_GATEWAY', 'PAYNETEASY_GATEWAY_MODE'));
 }
Example #27
0
 public function install()
 {
     if (!parent::install() or !$this->registerHook('payment') or !$this->registerHook('paymentReturn')) {
         return false;
     }
     return true;
 }
Example #28
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('NETAXEPT_MID_TOKEN_CURR') or !Configuration::deleteByName('NETAXEPT_TERMINAL_URL') or !Configuration::deleteByName('NETAXEPT_WSDL_URL') or !Configuration::deleteByName('NETAXEPT_TQ_WSDL_URL') or !parent::uninstall()) {
         return false;
     }
     return true;
 }
Example #29
0
 public function uninstall()
 {
     if (!Configuration::deleteByName('BANK_WIRE_DETAILS') || !Configuration::deleteByName('BANK_WIRE_OWNER') || !Configuration::deleteByName('BANK_WIRE_ADDRESS') || !parent::uninstall()) {
         return false;
     }
     return true;
 }
 public function uninstall()
 {
     if (!$this->removeDebitNoteTable() or !Db::getInstance()->delete('ps_order_state', 'id_order_state =' . Configuration::get('PS_OS_DEBITNOTE'), 10) or !Db::getInstance()->delete('ps_order_state_lang', 'id_order_state =' . Configuration::get('PS_OS_DEBITNOTE'), 10) or !Configuration::deleteByName('PS_OS_DEBITNOTE') or !Configuration::deleteByName('DEBITNOTE_CREDITOR_IDENTIFIER') or !parent::uninstall()) {
         return false;
     }
     return true;
 }