How to use the PayPal Subscriptions API with Node.js to manage recurring payments on serverless cloud functions.
Our Google add-on store uses PayPal Subscriptions with Digital Goods to process recurring payments and the invoices are sent to customers through Document Studio.
There are two steps.
BILLING.SUBSCRIPTION.ACTIVATED
webhook to a serverless function.The cloud function was previously using the official PayPal SDK for Node.js but it has been recently deprecated and no longer supports the new PayPal subscriptions API endpoints. Migrating from the PayPal Node SDK to your own solution is relatively simple and involves two steps:
#node.js #node