Plugin Directory

Changeset 2877841


Ignore:
Timestamp:
03/10/2023 12:14:18 PM (3 years ago)
Author:
eligmaltd
Message:

Overpayment and Underpayment support

Location:
gls-pay/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gls-pay/trunk/gls-pay.php

    r2771527 r2877841  
    33 * Plugin Name: GLS Pay
    44 * Description: Pay fast and secure with cards, crypto and other digital payments.
    5  * Version: 1.0.2
     5 * Version: 1.0.3
    66 * Author: Eligma Ltd.
    77 * Author URI: https://gocrypto.com
     
    258258                    if (null != $transactionId) {
    259259                        $transactionStatus = $this->gocryptoPay->checkTransactionStatus($transactionId);
    260                         if ($transactionStatus == 'SUCCESS') {
     260                        if ($transactionStatus === 'SUCCESS' || $transactionStatus === 'OVERPAID') {
    261261                            global $woocommerce;
    262262                            /* translators: %s: payment method */
     
    264264                            $order->update_status('processing', $statusMsg);
    265265                            $woocommerce->cart->empty_cart();
    266 
    267266                            // send email to costumer
    268267                            WC()->mailer()->emails['WC_Email_Customer_Processing_Order']->trigger($order->get_id());
  • gls-pay/trunk/readme.txt

    r2771527 r2877841  
    22Plugin Name: GLS Pay
    33Description: Pay fast and secure with cards, crypto and other digital payments.
    4 Stable tag: 1.0.2
     4Stable tag: 1.0.3
    55Author: Eligma Ltd.
    66Author URI: https://gocrypto.com
     
    5151== Changelog ==
    5252
     53= 1.0.3 =
     54Overpayment and Underpayment support
     55
     56= 1.0.2 =
     57Update description
     58
     59= 1.0.1 =
     60Update description
     61
    5362= 1.0.0 =
    5463Initial release
Note: See TracChangeset for help on using the changeset viewer.