李帅

1.打印paypal token

...@@ -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,
......