Plugin Directory

Changeset 2302697


Ignore:
Timestamp:
05/11/2020 01:43:56 PM (6 years ago)
Author:
mobipaid
Message:

change the way of get payment status

Location:
mobipaid
Files:
48 added
4 edited

Legend:

Unmodified
Added
Removed
  • mobipaid/trunk/changelog.txt

    r2277209 r2302697  
    55* accept payments via Mobipaid.
    66* support partial / full refund.
     7
     8= 1.0.1 - 2020-05-11 =
     9* change the way of get payment status.
  • mobipaid/trunk/includes/class-mobipaid.php

    r2277209 r2302697  
    405405        if ( ! empty( $token ) ) {
    406406            $this->log( 'get response from the gateway reponse url' );
    407             $response = get_query_var( 'response' );
    408             $response = json_decode( wp_unslash( $response ), true );
     407            $res_body = file_get_contents( 'php://input' );
     408            $res_body = json_decode( $res_body, true );
     409            $response = json_decode( wp_unslash( $res_body['response'] ), true );
    409410            $this->log( 'response_page - response: ' . wp_json_encode( $response ) );
    410411
  • mobipaid/trunk/mobipaid.php

    r2277209 r2302697  
    44 * Plugin URI:           https://github.com/MobipaidLLC/mobipaid-woocommerce
    55 * Description:          Receive payments using Mobipaid.
    6  * Version:              1.0.0
     6 * Version:              1.0.1
    77 * Requires at least:    5.0
    88 * Tested up to:         5.3.2
     
    2424}
    2525
    26 define( 'MOBIPAID_PLUGIN_VERSION', '1.0.0' );
     26define( 'MOBIPAID_PLUGIN_VERSION', '1.0.1' );
    2727
    2828register_activation_hook( __FILE__, 'mobipaid_activate_plugin' );
  • mobipaid/trunk/readme.txt

    r2277209 r2302697  
    66Tested up to: 5.3.2
    77Requires PHP: 7.0
    8 Stable tag: 1.0.0
     8Stable tag: 1.0.1
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9696= 1.0.0 2020-04-06 =
    9797* Initial release
     98
     99= 1.0.1 - 2020-05-11 =
     100* change the way of get payment status.
Note: See TracChangeset for help on using the changeset viewer.