Paypal REST API Subscriptions
-
Thanks for an awesome plugin. I made a donation because I recognize the hard work you’ve put into it! We recently moved from Yith Subscriptions with standard Paypal Checkout which worked, but provided a less than ideal UX for the consumer. Users had to login to Paypal to cancel subscriptions.
As a better experience, we moved to “Subscriptions for WooCommerce”, aka WebToffee Subscriptions, and wanted to integrate using Paypal for WooCommerce’s Paypal Credit Card (REST) payment option. This way, the user didn’t have to visit Paypal to setup an account, and they could also stay onsite to manage their subscription.
However, we’ve not had any luck with getting the Subscriptions to process.
We’ve tried with and without the ‘Billing Agreement’ checkbox. I also run transactions with the Sprout Invoicing platform and the same API credentials just fine.
Here is an example of a Live Transaction error message:
[19-06-2018 07:28:27] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.paypal.com/v1/oauth2/token
[19-06-2018 07:28:27] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 200
[19-06-2018 07:28:27] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.paypal.com/v1/payments/payment
[19-06-2018 07:28:28] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 401
[19-06-2018 07:28:28] PayPal\Core\PayPalHttpConnection: ERROR : Got Http response code 401 when accessing https://api.paypal.com/v1/payments/payment. {“name”:”UNAUTHORIZED_PAYMENT”,”message”:”Unauthorized payment.”,”information_link”:”https://developer.paypal.com/docs/api/payments/#errors”,”debug_id”:”9b0dfaa1e52af”}
06-19-2018 @ 15:28:28 – Got Http response code 401 when accessing https://api.paypal.com/v1/payments/payment.
06-19-2018 @ 15:50:00 – PayPal\Api\Payment ObjectThe page I need help with: [log in to see the link]
- The topic ‘Paypal REST API Subscriptions’ is closed to new replies.