Plugin Directory

Changeset 3219336


Ignore:
Timestamp:
01/08/2025 11:33:53 PM (11 months ago)
Author:
Hiroaki Miyashita
Message:

Version 0.1.6

Location:
wc-gmopg-gateway/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wc-gmopg-gateway/trunk/readme.txt

    r3218613 r3219336  
    55Requires at least: 4.4
    66Tested up to: 6.7.1
    7 Stable tag: 0.1.5
     7Stable tag: 0.1.6
    88License: GPLv2 or later
    99
     
    4444== Changelog ==
    4545
     46= 0.1.6 =
     47* Bugfix: webhook.
     48
    4649= 0.1.5 =
    4750* Bugfix: logout on the thank you page.
  • wc-gmopg-gateway/trunk/wc-gmopg-gateway.php

    r3218613 r3219336  
    66 * Author: Hiroaki Miyashita
    77 * Author URI: https://www.wpmarket.jp/
    8  * Version: 0.1.5
     8 * Version: 0.1.6
    99 * Requires at least: 4.4
    1010 * Tested up to: 6.7.1
     
    306306
    307307                if ( $_POST['Status'] == 'CAPTURE' || $_POST['Status'] == 'AUTH' || $_POST['Status'] == 'CHECK' || $_POST['Status'] == 'REQSUCCESS' || $_POST['Status'] == 'PAYSUCCESS' || $_POST['Status'] == 'EXPIRED' || $_POST['Status'] == 'CANCEL' || $_POST['Status'] == 'PAYFAIL' ) :
    308                     $order = new WC_Order( str_replace( 'wcgmopg', '', $_POST['OrderID'] ) );
     308                    list( $order_id, $tmp ) = explode('-', $_POST['OrderID'] );
     309                    $order = new WC_Order( str_replace( 'wcgmopg', '', $order_id ) );
    309310               
    310311                    if ( !empty($order) ) :
Note: See TracChangeset for help on using the changeset viewer.