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.
- Zettle reporting within PayPal Transaction Detail Report Specification in PayPal Reporting
- App selection for Subscription Button in Sandbox Environment
- Authorization failed due to insufficient permissions in REST APIs
- Something doesn't look right. Your payment to this merchant can't be completed using PayPal. in Sandbox Environment
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)