Plugin Directory

Changeset 2884049


Ignore:
Timestamp:
03/21/2023 07:25:51 AM (3 years ago)
Author:
chaifinport
Message:

fixing merchant object when not sending item details

Location:
chaiport-payment/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chaiport-payment/trunk/chaiportGateway.php

    r2879753 r2884049  
    44 * Plugin URI:        https://www.docs.portone.cloud/plugins_and_sdks/woocommerce-plugin.html
    55 * Description:       Single Payment
    6  * Version:           2.0.3
     6 * Version:           2.0.4
    77 * Requires at least: 5.6
    88 * Author:            PortOne
     
    761761                $this->console_log("Not sending item details", '');
    762762                $isItemsAvailable = false;
     763                $merchantObj = array(
     764                    "name" => get_bloginfo('name'),
     765                    "logo" => $image[0],
     766                    "back_url" => get_bloginfo('url') . "/checkout/",
     767                    "shipping_charges" => 0,
     768                    "promo_discount" => 0
     769                );
    763770            } else {
    764771                $this->console_log("Total amount is: " . $amount, '');
  • chaiport-payment/trunk/readme.txt

    r2879753 r2884049  
    44Requires at least: 3.9.2
    55Tested up to: 6.1.1
    6 Stable tag: 2.0.3
     6Stable tag: 2.0.4
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    39396. Enter the keys from step 1 and click on save
    4040    ```
    41     Publishable Key ---> CHAIPay Key
    42     Private Key     ---> CHAIPay Secure Secret Key
     41    Publishable Key ---> PortOne Key
     42    Private Key     ---> PortOne Secure Secret Key
    4343    ```
    44447. You'll have to add the webhook URL given in the settings to the Merchant Portal Webhooks section
Note: See TracChangeset for help on using the changeset viewer.