PayPal Subscribe Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to set up a paypal subscribe button to go on my wix site. I've generated the code and pasted it in the Wix HTML iframe developer, and the buttons have appeared as expected. When I publish my site and make it live, however, when either the paypal subscribe buttons or the debit card button below are clicked, it briefly looks like it's opening up the right pop-up, but then it quickly closes, apparently doing nothing. The code paypal generated for me is below. The wix site page I have been testing it on is: https://www.peacebypiecevegans.com/step-2-one-off-box
Any help would be amazing!
<div id="paypal-button-container"></div> <script src="https://www.paypal.com/sdk/js?client-id=AdXv8GH48PQpLkrq4cuBPyZo7a0q4oRbnNAtgOFc9SdQHDcZgHnYhxxAEZrg..." data-sdk-integration-source="button-factory"></script> <script> paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'subscribe', }, createSubscription: function(data, actions) { return actions.subscription.create({ 'plan_id': 'P-58S63930YV394891BL4AH74A' }); }, onApprove: function(data, actions) { alert(data.subscriptionID); } }).render('#paypal-button-container'); </script>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
most probably your plan id or client id is wrong. I had same issue yesterday, I realised that my plan id was wrong.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Seller "Buy now" button - unable to edit a button in PayPal Payments Standard
- Paypal 4X credit : translated message & currency error in PayPal Payments Standard
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- Members cannot pay for an event using PayPal Commerce plugin with WPForms - no pattern we can find. in PayPal Payments Standard
- I'm getting error once user try to pay via PayPal - NVP/SOAP Api Integration in NVP/SOAP APIs