Changeset 2560320
- Timestamp:
- 07/08/2021 01:17:49 AM (5 years ago)
- Location:
- wc-westpac-payway-with-recurring/trunk
- Files:
-
- 3 edited
-
classes/payway-gateway-rest.php (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
-
wc-westpac-payway-with-recurring.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wc-westpac-payway-with-recurring/trunk/classes/payway-gateway-rest.php
r2560013 r2560320 280 280 281 281 $service_url = 'https://api.payway.com.au/rest/v1/transactions'; 282 $order -> add_order_note('Service URL: ' . service_url);283 282 284 283 $curl_post_data = array( … … 295 294 296 295 $this->log('Transaction Details Sent: ' . json_encode($curl_post_data)); 297 298 296 $service_args = array( 299 297 'headers' => array( … … 301 299 ), 302 300 'method' => 'POST', 301 'timeout' => 30, 303 302 'sslverify' => false, 304 303 'body' => $curl_post_data … … 308 307 309 308 $this->log('Transaction Response: ' . json_encode($response)); 310 311 312 309 313 310 if (wp_remote_retrieve_response_code($response) !== 200 && wp_remote_retrieve_response_code($response) !== 201) { … … 317 314 }else 318 315 { 319 $json = json_decode($response_body,true); 316 $body = wp_remote_retrieve_body($response); 317 $json = json_decode($body,true); 320 318 if ($json['status'] == 'approved') 321 319 { -
wc-westpac-payway-with-recurring/trunk/readme.txt
r2532764 r2560320 5 5 Requires at least: 4.9 6 6 Tested up to: 5.7.1 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later -
wc-westpac-payway-with-recurring/trunk/wc-westpac-payway-with-recurring.php
r2532735 r2560320 3 3 * Plugin Name: Payment gateway for Westpac PayWay NET on Woocommerce with Recurring Billing 4 4 * Description: The plugin gives the functionality of processing Credit and Debit Cards on WooCommerce using Westpac PayWay NET along with Recurring Payments. 5 * Version: 1. 05 * Version: 1.1 6 6 * Author: Spanrig Technologies 7 7 * Author URI: https://www.upwork.com/fl/hncvj
Note: See TracChangeset
for help on using the changeset viewer.