Changeset 2807585
- Timestamp:
- 10/31/2022 03:18:08 AM (3 years ago)
- Location:
- chip-for-woocommerce
- Files:
-
- 4 edited
-
tags/1.1.3/api.php (modified) (1 diff)
-
tags/1.1.3/chip-for-woocommerce.php (modified) (3 diffs)
-
tags/1.1.3/readme.txt (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chip-for-woocommerce/tags/1.1.3/api.php
r2805470 r2807585 6 6 */ 7 7 8 // This is CHIP API URL Endpoint as per documented in: https:// gate.chip-in.asia/api/8 // This is CHIP API URL Endpoint as per documented in: https://developer.chip-in.asia/api 9 9 define("WC_CHIP_ROOT_URL", "https://gate.chip-in.asia"); 10 10 -
chip-for-woocommerce/tags/1.1.3/chip-for-woocommerce.php
r2806878 r2807585 269 269 $methods = []; 270 270 foreach ($data as $country => $pms) { 271 if (in_array('billplz', $pms)){ 272 continue; 273 } 271 274 foreach ($pms as $pm) { 272 275 if (!array_key_exists($pm, $methods)) { … … 302 305 echo ">"; 303 306 304 $pm_name = $payment_methods['names'][$data["payment_method"]]; 307 $pm_name_list = array('FPX B2C' => 'FPX', 'FPX B2B1' => 'FPX Business', 'Bank cards' => 'Bank Cards'); 308 $pm_name = $pm_name_list[$payment_methods['names'][$data['payment_method']]]; 309 $pm_name = apply_filters( 'wc_chip_payment_method_name', $pm_name); 305 310 306 311 echo "<div style=\"font-size: 14px; min-height: 23px\">" . esc_html($pm_name) . "</div>"; … … 438 443 $payment_method = sanitize_key($_REQUEST["chip-payment-method"]); 439 444 440 if (in_array($payment_method, [' billplz', 'fpx', 'fpx_b2b1', 'card'])){445 if (in_array($payment_method, ['fpx', 'fpx_b2b1', 'card'])){ 441 446 $u .= "?preferred=" . $payment_method; 442 447 } -
chip-for-woocommerce/tags/1.1.3/readme.txt
r2805470 r2807585 17 17 CHIP is an abbreviation of Cash, Card and Coin Handling Integrated Platform. CHIP allows you to securely sell your products and get paid. 18 18 19 This plugin will enable your WooCommerce site to be integrated with CHIP as per documented in [API Documentation](https:// gate.chip-in.asia/api/#/Purchases/purchases_create).19 This plugin will enable your WooCommerce site to be integrated with CHIP as per documented in [API Documentation](https://developer.chip-in.asia/api#online_purchases_custom_payment_flow_direct_post). 20 20 21 21 == Screenshots == 22 22 * Fill up the form with Brand ID and Secret Key. Tick Enable API and Save changes to activate. 23 23 * Checkout and pay with CHIP 24 * CHIP payment page 25 * WooCommerce order received page 26 * WooCommerce dashboard order page 24 27 25 28 == Changelog == … … 66 69 = Where can I find documentation? = 67 70 68 You can visit our [API documentation](https:// gate.chip-in.asia/api/) for your reference.71 You can visit our [API documentation](https://developer.chip-in.asia/) for your reference. 69 72 70 73 = What CHIP API services used in this plugin? = … … 89 92 [Privacy Policy](https://www.chip-in.asia/privacy-policy) 90 93 91 [API Documentation](https:// gate.chip-in.asia/api/)94 [API Documentation](https://developer.chip-in.asia/) 92 95 93 96 [CHIP Merchants & DEV Community](https://www.facebook.com/groups/3210496372558088) -
chip-for-woocommerce/trunk/readme.txt
r2805470 r2807585 17 17 CHIP is an abbreviation of Cash, Card and Coin Handling Integrated Platform. CHIP allows you to securely sell your products and get paid. 18 18 19 This plugin will enable your WooCommerce site to be integrated with CHIP as per documented in [API Documentation](https:// gate.chip-in.asia/api/#/Purchases/purchases_create).19 This plugin will enable your WooCommerce site to be integrated with CHIP as per documented in [API Documentation](https://developer.chip-in.asia/api#online_purchases_custom_payment_flow_direct_post). 20 20 21 21 == Screenshots == 22 22 * Fill up the form with Brand ID and Secret Key. Tick Enable API and Save changes to activate. 23 23 * Checkout and pay with CHIP 24 * CHIP payment page 25 * WooCommerce order received page 26 * WooCommerce dashboard order page 24 27 25 28 == Changelog == … … 66 69 = Where can I find documentation? = 67 70 68 You can visit our [API documentation](https:// gate.chip-in.asia/api/) for your reference.71 You can visit our [API documentation](https://developer.chip-in.asia/) for your reference. 69 72 70 73 = What CHIP API services used in this plugin? = … … 89 92 [Privacy Policy](https://www.chip-in.asia/privacy-policy) 90 93 91 [API Documentation](https:// gate.chip-in.asia/api/)94 [API Documentation](https://developer.chip-in.asia/) 92 95 93 96 [CHIP Merchants & DEV Community](https://www.facebook.com/groups/3210496372558088)
Note: See TracChangeset
for help on using the changeset viewer.