Changeset 2611179
- Timestamp:
- 10/07/2021 06:27:38 PM (4 years ago)
- File:
-
- 1 edited
-
axima-payment-gateway/trunk/src/Gateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
axima-payment-gateway/trunk/src/Gateway.php
r2527454 r2611179 83 83 )); 84 84 85 $link = 'https://www.pays.cz/paymentorder?Merchant=' . Plugin::getMerchantId() . '&Shop=' . Plugin::getShopId(); 86 $link .= '&Currency=' . $order->get_currency() . '&Amount=' . ($order->get_total() * 100) . '&Email=' . $order->get_billing_email(); 87 $link .= '&MerchantOrderNumber=' . $merchantOrderNumber; 85 $params = array( 86 'Merchant' => Plugin::getMerchantId(), 87 'Shop' => Plugin::getShopId(), 88 'Currency' => $order->get_currency(), 89 'Amount' => $order->get_total() * 100, 90 'Email' => $order->get_billing_email(), 91 'MerchantOrderNumber' => $merchantOrderNumber, 92 ); 93 94 $link = 'https://www.pays.cz/paymentorder?' . http_build_query($params); 88 95 89 96 if (wc_tax_enabled()) {
Note: See TracChangeset
for help on using the changeset viewer.