Kaynağa Gözat

修改支付方式

llp 6 saat önce
ebeveyn
işleme
b70970346a

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

@@ -99,7 +99,7 @@ class Klarna extends Payment
             'merchant_urls' => [
                 'confirmation_url' => $input->paymentSuccessUrl . '?orderId=' . $order->id,
                 'push_url' => $input->paymentSuccessUrl . '?orderId=' . $order->id,
-                'authorization' => $input->paymentSuccessUrl . '?orderId=' . $order->id,
+                'authorization' => $input->paymentSuccessUrl . '?orderId=' . $order->id
             ],
             'order_lines' => $products,
             'purchase_country' => $bill->country,

+ 5 - 0
packages/Webkul/BagistoApi/src/Dto/PaymentCallbackInput.php

@@ -36,6 +36,11 @@ class PaymentCallbackInput
     #[SerializedName('paymentSignature')]
     public ?string $paymentSignature = null;
 
+    #[Groups(['mutation'])]
+    #[ApiProperty(description: 'Internal verification token used to bind gateway authorization to this order')]
+    #[SerializedName('verifyToken')]
+    public ?string $verifyToken = null;
+
     /*
     | Optional address payload (express flow only)
     */