Description
One payment option:
Two Payment Option: $150 per month for two months.
paypal.Buttons({
style: {
shape: ‘rect’,
color: ‘gold’,
layout: ‘vertical’,
label: ‘paypal’
},
createSubscription: function(data, actions) {
return actions.subscription.create({
/* Creates the subscription */
plan_id: ‘P-0J761410RC733614UMYP7OIA’
});
},
onApprove: function(data, actions) {
alert(data.subscriptionID); // You can add optional success message for the subscriber here
}
}).render(‘#paypal-button-container-P-0J761410RC733614UMYP7OIA’); // Renders the PayPal button