Changeset 3028452
- Timestamp:
- 01/29/2024 10:06:25 PM (2 years ago)
- Location:
- helcim-commerce-for-woocommerce/trunk
- Files:
-
- 4 edited
-
WCHelcimGateway.php (modified) (3 diffs)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
helcim-commerce-for-woocommerce/trunk/WCHelcimGateway.php
r3005806 r3028452 22 22 * @class WCHelcimGateway 23 23 * @extends WC_Payment_Gateway 24 * @version 4.0. 224 * @version 4.0.3 25 25 * @author Helcim Inc. 26 26 */ … … 389 389 $responsePayload = $this->getHelcimDirectService()->processPurchase($order, $this, $customerCode); 390 390 if (!is_array($responsePayload)) { 391 wc_add_notice('<b>Payment error:</b> Something went wrong please contact the Merchant', 'error'); 391 $errorLog = 'Something went wrong please contact the Merchant'; 392 if (str_contains($this->getHelcimDirectService()->getError(), 'must be a valid Phone Number')) { 393 $errorLog = 'Phone must be valid phone number (10-15 digits)'; 394 } 395 wc_add_notice("<b>Payment error:</b> $errorLog", 'error'); 392 396 self::log("ORDER {$order->get_id()} ERROR - {$this->getHelcimDirectService()->getError()}"); 393 397 $order->add_order_note( … … 399 403 $responsePayload = $this->getHelcimDirectService()->processPreauth($order, $this, $customerCode); 400 404 if (!is_array($responsePayload)) { 401 wc_add_notice('<b>Payment error:</b> Something went wrong please contact the Merchant', 'error'); 405 $errorLog = 'Something went wrong please contact the Merchant'; 406 if (str_contains($this->getHelcimDirectService()->getError(), 'must be a valid Phone Number')) { 407 $errorLog = 'Phone must be valid phone number (10-15 digits)'; 408 } 409 wc_add_notice("<b>Payment error:</b> $errorLog", 'error'); 402 410 self::log("ORDER {$order->get_id()} ERROR - {$this->getHelcimDirectService()->getError()}"); 403 411 $order->add_order_note( -
helcim-commerce-for-woocommerce/trunk/index.php
r3005806 r3028452 4 4 Plugin URI: https://www.helcim.com/ 5 5 Description: Helcim Commerce for WooCommerce 6 Version: 4.0. 26 Version: 4.0.3 7 7 Author: Helcim Inc. 8 8 Author URI: https://www.helcim.com/ -
helcim-commerce-for-woocommerce/trunk/readme.txt
r3005806 r3028452 3 3 Tags: helcim, helcim commerce, woocommerce, woocommerce payments, woocommerce payment gateway, payment gateway, shopping cart, wordpress payment gateway, woocommerce shopping cart, wordpress shopping cart, payment gateway for woocommerce, payments, credit cards, accept credit cards, recurring billing, woocommerce gateway, woocommerce payment plugin, woocommerce credit cards, accept credit cards woocommerce, credit card gateway woocommerce, accept credit cards on woocommerce, process payments, process credit cards, accept visa, accept mastercard,checkout, accept payments, merchant account, merchant services 4 4 Requires at least: 4.7.3 5 Tested up to: 6.4. 15 Tested up to: 6.4.2 6 6 PHP Version: 7.4 or higher 7 7 … … 20 20 21 21 **REQUIREMENTS:** 22 - WooCommerce 2.6.14 to 8. 2.222 - WooCommerce 2.6.14 to 8.5.1 23 23 - [Helcim account](https://hub.helcim.com/signup/register/) 24 24 … … 74 74 == Changelog == 75 75 76 = 4.0.3 = 77 * Bug fix regarding empty phone number 78 * Tested upto WordPress 6.4.2 79 * Tested upto woocommerce 8.5.1 80 76 81 = 4.0.2 = 77 82 * Bug fix regarding countries -
helcim-commerce-for-woocommerce/trunk/uninstall.php
r3005806 r3028452 5 5 * Uninstalls Helcim Gateway. 6 6 * 7 * @version 4.0. 27 * @version 4.0.3 8 8 * @author Helcim Inc. 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.