Changeset 3272577
- Timestamp:
- 04/14/2025 03:10:18 PM (12 months ago)
- Location:
- trustistecommerce/trunk
- Files:
-
- 3 edited
-
includes/payment-functions.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
-
trustist-ecommerce.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trustistecommerce/trunk/includes/payment-functions.php
r3131773 r3272577 78 78 $data = $request->toArray(); 79 79 80 trustist_payment_write_log("Payment payload: " . print_r($data, true)); 81 80 82 $url = '/v1/payments'; 81 83 return trustist_payment_send_request('POST', $url, $data, $test); … … 127 129 private $customerDetails; 128 130 private $payerEmail; 131 private $partnerID = "d18213c7-d5f8-460b-b7e9-d707596acc30"; 132 private $partnerReference = "EasyCerts"; 129 133 130 134 public function __construct( … … 134 138 $customerDetails, 135 139 $payerEmail, 136 $returnUrl, 140 $returnUrl, 137 141 $cancelUrl = null) 138 142 { … … 156 160 'customerDetails' => $this->customerDetails, 157 161 'payerEmail' => $this->payerEmail, 162 'partnerID' => $this->partnerID, 163 'partnerReference' => $this->partnerReference, 158 164 ]; 159 165 } 166 167 public function debugPayload() 168 { 169 trustist_payment_write_log("Payment Request Payload: " . print_r($this->toArray(), true)); 170 } 160 171 } 161 172 -
trustistecommerce/trunk/readme.txt
r3251006 r3272577 4 4 Requires at least: 5.4 5 5 Tested up to: 6.7.2 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 Requires PHP: 7.2 8 8 License: GPLv2 -
trustistecommerce/trunk/trustist-ecommerce.php
r3251006 r3272577 12 12 defined( 'ABSPATH' ) or die(); 13 13 14 \define('TRUSTISTPLUGIN_VERSION', '1.0. 6');14 \define('TRUSTISTPLUGIN_VERSION', '1.0.7'); 15 15 \define('TRUSTISTPLUGIN_SLUG', 'trustistecommerce'); 16 16 \define('TRUSTISTPLUGIN_NAME', 'TrustistEcommerce');
Note: See TracChangeset
for help on using the changeset viewer.