Quantcast
Channel: Active questions tagged paypal - Stack Overflow
Viewing all articles
Browse latest Browse all 521

Things don’t appear to be working at the moment. in Paypal [closed]

$
0
0
                if (typeof paypal !== 'undefined') {                    paypal.Buttons({                    style: {                        shape: 'rect',                        color: 'gold',                        layout: 'vertical',                        label: 'subscribe'                    },                    createSubscription: function(data, actions) {                        return actions.subscription.create({                        plan_id: 'xxxxxxxxxxxxxx`enter code here`'                        });                    },                    onApprove: function(data, actions) {                        alert('Subscription completed! ID: '+ data.subscriptionID);                    },                    onError: function(err) {                        console.error('PayPal Button Error:', err);                    }                    }).render('#paypal-button-container');                } else {                    console.error("PayPal SDK not loaded yet.");                }

I am trying to make subscription payments with a credit card on PayPal without a PayPal account. My credentials and plan ID are fine. But still facing issues, Things don’t appear to be working at the moment

enter image description here


Viewing all articles
Browse latest Browse all 521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>