Paypal is one of several payment gateways that can be used in Affino for recurring payments.
In this guide, you will learn how to set up Paypal as one of the many payment options available.
These instructions are for setting Paypal within a sandbox test environment. You may need to contact your own Paypal account manager to enable the live environment.
When this is done, your clients will be able to purchase products using Paypal.
1.- Go to developer.paypal.com
- and log in with your Paypal account:
2.- In the dashboard, click Create App button:
Enter a name for your app then choose an App Type (e.g. Merchant) and select the Sandbox Business Account you want to use for it.
Note: you need this sandbox account to set up the subscriptions and check the payments.
Click the Create App button:
3.- Go to Payment Gateways within Affino (Control > Commerce > Payment Gateways)
Add a new payment gateway and copy-paste the Client ID and Secret from PayPal:
Note: save the Webhook ID field with a number (i.e. 1):
- so that the payment gateway can be saved and the Webhook URL is generated:
Click on Add Webhook in PayPal:
Copy the Webhook URL from Affino and past it into the
Select All Event Types:
Save then copy-paste the PayPal generated Webhook ID:
- back into Affino’s Payment Gateway:
Set the Affino Payment Gateway to Live.
Within the sandbox, go to Accounts (Under SANDBOX left hand menu) and select View/Edit Account on the Business Account Type, e.g. sb-uj0to6048526@business.example.com
Use the Email ID and System Generated Password to log into sandbox.paypal.com/ (make sure you’re logged in as the Sandbox user and not your own Paypal account, a new browser window may help)
Under Pay & Get paid > Accept Payments, click Subscription:
Create a subscription plan:
Enter Product Name, Product Description, Product-ID, Product type, Product page URL and Product image URL.
Click Next.
Select the product just create and click Next:
Choose the kind of subscription plan (e.g. Fixed price) then click Next:
Enter a Plan name and Plan description if needed:
Enter the Currency, Subscription period, (e.g. Unlimited billing cycles), pricing (e.g. £50 every 1 Year) and tax, click Next:
Click Turn Plan On:
View the subscription plan:
You’ll need to create a Product/Catalogue Item in Affino and copy-paste the Subscription Plan ID (e.g.
Remember to add a new Payment Method (which will be associated to the Payment Gateway)
Meetings:
Google Meet and Zoom
Venue:
Soho House, Soho Works +
Registered Office:
55 Bathurst Mews
London, UK
W2 2SB
© Affino 2024