Plugin Directory

Changeset 2560320


Ignore:
Timestamp:
07/08/2021 01:17:49 AM (5 years ago)
Author:
spanrig
Message:

Timeout issue Fix: Fixed the One-off payment with timeout issue.

Location:
wc-westpac-payway-with-recurring/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wc-westpac-payway-with-recurring/trunk/classes/payway-gateway-rest.php

    r2560013 r2560320  
    280280           
    281281                $service_url = 'https://api.payway.com.au/rest/v1/transactions';
    282                 $order -> add_order_note('Service URL: ' . service_url);
    283282           
    284283                $curl_post_data = array(
     
    295294               
    296295                $this->log('Transaction Details Sent: ' . json_encode($curl_post_data));
    297 
    298296                $service_args = array(
    299297                    'headers' => array(
     
    301299                    ),
    302300                    'method'     => 'POST',
     301                    'timeout' => 30,
    303302                    'sslverify' => false,
    304303                    'body' => $curl_post_data
     
    308307
    309308                $this->log('Transaction Response: ' . json_encode($response));
    310 
    311 
    312309
    313310                if (wp_remote_retrieve_response_code($response) !== 200 && wp_remote_retrieve_response_code($response) !== 201) {
     
    317314                }else
    318315                {
    319                     $json = json_decode($response_body,true);
     316                    $body = wp_remote_retrieve_body($response);
     317                    $json = json_decode($body,true);
    320318                    if ($json['status'] == 'approved')
    321319                    {
  • wc-westpac-payway-with-recurring/trunk/readme.txt

    r2532764 r2560320  
    55Requires at least: 4.9
    66Tested up to: 5.7.1
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88Requires PHP: 5.6
    99License: GPLv2 or later
  • wc-westpac-payway-with-recurring/trunk/wc-westpac-payway-with-recurring.php

    r2532735 r2560320  
    33 * Plugin Name: Payment gateway for Westpac PayWay NET on Woocommerce with Recurring Billing
    44 * 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.0
     5 * Version: 1.1
    66 * Author: Spanrig Technologies
    77 * Author URI: https://www.upwork.com/fl/hncvj
Note: See TracChangeset for help on using the changeset viewer.