Browse Source

添加苹果支付的值

llp 1 week ago
parent
commit
6e0ee821cc
1 changed files with 6 additions and 0 deletions
  1. 6 0
      packages/Longyi/Pay/Applepay/src/Payment/Applepay.php

+ 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();
         $client = new Client();