Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -98,7 +98,7 @@ class PaypalPayment implements PaymentInterface | ... | @@ -98,7 +98,7 @@ class PaypalPayment implements PaymentInterface |
98 | } | 98 | } |
99 | 99 | ||
100 | public function prepare(Order $order) | 100 | public function prepare(Order $order) |
101 | - { | 101 | + {return $this->accessToken; |
102 | // 在PayPal上创建一个订单,它会返回一个订单对象,它有一个订单id | 102 | // 在PayPal上创建一个订单,它会返回一个订单对象,它有一个订单id |
103 | $client = new Client([ | 103 | $client = new Client([ |
104 | 'base_uri' => $this->baseUrlSandbox, | 104 | 'base_uri' => $this->baseUrlSandbox, | ... | ... |
-
Please register or login to post a comment