소스 검색

添加苹果支付的值

llp 3 달 전
부모
커밋
6e0ee821cc
1개의 변경된 파일과 6개의 추가작업 그리고 0개의 파일을 삭제
  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();