Plugin Directory

Changeset 3272577


Ignore:
Timestamp:
04/14/2025 03:10:18 PM (12 months ago)
Author:
trustist
Message:

Updated plugin to version 1.0.7

Location:
trustistecommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trustistecommerce/trunk/includes/payment-functions.php

    r3131773 r3272577  
    7878    $data = $request->toArray();
    7979
     80    trustist_payment_write_log("Payment payload: " . print_r($data, true));
     81
    8082    $url = '/v1/payments';
    8183    return trustist_payment_send_request('POST', $url, $data, $test);
     
    127129    private $customerDetails;
    128130    private $payerEmail;
     131    private $partnerID = "d18213c7-d5f8-460b-b7e9-d707596acc30";
     132    private $partnerReference = "EasyCerts";
    129133
    130134    public function __construct(
     
    134138        $customerDetails,
    135139        $payerEmail,
    136         $returnUrl, 
     140        $returnUrl,
    137141        $cancelUrl = null)
    138142    {
     
    156160            'customerDetails' => $this->customerDetails,
    157161            'payerEmail' => $this->payerEmail,
     162            'partnerID' => $this->partnerID,
     163            'partnerReference' => $this->partnerReference,
    158164        ];
    159165    }
     166
     167    public function debugPayload()
     168    {
     169        trustist_payment_write_log("Payment Request Payload: " . print_r($this->toArray(), true));
     170    }
    160171}
    161172
  • trustistecommerce/trunk/readme.txt

    r3251006 r3272577  
    44Requires at least: 5.4
    55Tested up to: 6.7.2
    6 Stable tag: 1.0.6
     6Stable tag: 1.0.7
    77Requires PHP: 7.2
    88License: GPLv2
  • trustistecommerce/trunk/trustist-ecommerce.php

    r3251006 r3272577  
    1212defined( 'ABSPATH' ) or die();
    1313
    14 \define('TRUSTISTPLUGIN_VERSION', '1.0.6');
     14\define('TRUSTISTPLUGIN_VERSION', '1.0.7');
    1515\define('TRUSTISTPLUGIN_SLUG', 'trustistecommerce');
    1616\define('TRUSTISTPLUGIN_NAME', 'TrustistEcommerce');
Note: See TracChangeset for help on using the changeset viewer.