Explorar el Código

修改支付方式

llp hace 1 mes
padre
commit
3a71b47550
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/Longyi/Pay/Applepay/src/Payment/Applepay.php

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

@@ -120,7 +120,7 @@ class Applepay extends Payment
             'verify' => false
         ]);
         $resultObject = json_decode($response->getBody()->getContents());
-        return $resultObject;
+        return $resultObject->id;
     }
     /**
      * Return cart items.