Paypal Subscriptions API – Discount Code

From the Paypal Developer Docs website – https://developer.paypal.com/docs/business/subscriptions/add-capabilities/customize/ This guide wasn’t very clear on how to do this with Javascript (Integrating with the Smart Paypal Button) , so I worked it out myself and thought I would share. From the Basic Integration Docs – https://developer.paypal.com/docs/subscriptions/integrate/#create-the-subscription Change to below to set Fixed/Variable Read more…