Przeglądaj źródła

添加苹果支付的值

llp 1 tydzień temu
rodzic
commit
6e0ee821cc

+ 6 - 0
packages/Longyi/Pay/Applepay/src/Payment/Applepay.php

@@ -113,6 +113,12 @@ class Applepay extends Payment
                         ],
                     ],
                 ]
+            ],
+            'payment_source' => [
+                'apple_pay' => [
+                    'name' => $order->customer_full_name,
+                    'email_address' => $order->customer_email
+                ]
             ]
         ];
         $client = new Client();