因此,我编写了paypal结帐控制器方法,将其设置为一个按钮,当您在网站上按该按钮时,它将加载到paypal结帐站点,您可以登录并付款,并且效果很好,可以给我钱,并给他们买的东西。但是一天后,它无法正常工作,每次我单击贝宝结帐时都会抛出错误。
错误
viewControllerBefore
2019-06-26 00:15:35.600 ERROR 17396 --- [http-nio-8080-exec-2] com.paypal.base.HttpConnection : Response code: 401 Error response: {"error":"invalid_token","error_description":"Access Token not found in cache"}
2019-06-26 00:15:35.608 ERROR 17396 --- [http-nio-8080-exec-2] c.r.api.controllers.PaymentController : Response code: 401 Error response: {"error":"invalid_token","error_description":"Access Token not found in cache"}
如果可以使用一次,它应该已经有一个令牌。