Changeset 2276445
- Timestamp:
- 04/05/2020 03:38:14 PM (6 years ago)
- Location:
- spektra/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
spektra-wc-gatway.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spektra/trunk/readme.txt
r2238122 r2276445 4 4 Tags: payments, checkout 5 5 Requires at least: 4.6 6 Tested up to: 5. 36 Tested up to: 5.4 7 7 Stable tag: 1.0 8 8 Requires PHP: 5.2 … … 65 65 * Updated checkout 66 66 67 = 1.0.3 = 68 Prefill customer data from billing details 69 67 70 == Upgrade Notice == 68 71 … … 72 75 = 1.0.1 = 73 76 Update checkout page 77 78 = 1.0.3 = 79 Prefill customer data from billing details 74 80 75 81 -
spektra/trunk/spektra-wc-gatway.php
r2177299 r2276445 7 7 * Author URI: https://spektra.co 8 8 * Version: 1.0.1 9 * WC tested up to: 4.0.1 9 10 * 10 11 * /* … … 246 247 $order_description = implode(', ', $order_array); 247 248 248 249 249 $postdata ="{ 250 250 \"amount\":\"{$order->get_total()}\", 251 251 \"currency\":\"{$order->get_currency()}\", 252 \"customerData\": { 253 \"firstName\":\"{$order->get_billing_first_name()}\", 254 \"lastName\":\"{$order->get_billing_last_name()}\", 255 \"phone\":\"{$order->get_billing_phone()}\" 256 }, 252 257 \"description\":\"{$order_description}\", 253 258 \"successURL\":\"{$successUrl}\", 254 259 \"cancelURL\":\"{$cancelUrl}\" 255 260 }"; 256 $chekout = $this->get_checkout_id($token->access_token, $postdata);261 $chekout = $this->get_checkout_id($token->access_token, $postdata); 257 262 if($chekout->checkoutID) 258 263 {
Note: See TracChangeset
for help on using the changeset viewer.