Procházet zdrojové kódy

修改支付方式

llp před 1 dnem
rodič
revize
98a12d1296

+ 1 - 1
packages/Longyi/Pay/AwxAfterpay/src/Payment/AwxAfterpay.php

@@ -90,7 +90,7 @@ class AwxAfterpay extends Payment
             'request_id' => $this->createUuid(),
             'amount' => $grandTotal,
             'descriptor' => $this->prefix,
-            'return_url' => $input->paymentSuccessUrl. '?orderId=' . $override['merchantOrderId'],
+            'return_url' => $input->paymentSuccessUrl. '?orderId=' . $order->id,
             'merchant_order_id' => $this->prefix . $override['merchantOrderId'],
             'currency' => $order->order_currency_code,
             'customer' => [

+ 1 - 1
packages/Longyi/Pay/AwxKlarna/src/Payment/AwxKlarna.php

@@ -91,7 +91,7 @@ class AwxKlarna extends Payment
             'request_id' => $this->createUuid(),
             'amount' => $grandTotal,
             'descriptor' => $this->prefix,
-            'return_url' => $input->paymentSuccessUrl . '?orderId=' . $override['merchantOrderId'],
+            'return_url' => $input->paymentSuccessUrl . '?orderId=' . $order->id,
             'merchant_order_id' => $this->prefix . $override['merchantOrderId'],
             'currency' => $order->order_currency_code,
             'customer' => [