PayPal is an online payment service that allows you to pay for products using a secure internet account. You can integrate a PayPal account with your Smartpages account using three methods. A PayPal payment gateway button is the easiest one as you only need to paste your API Keys. You can also embed a PayPal button or integrate your form with PayPal.
PayPal CHECKOUT BUTTON
Manage your products in the Products tab, and view and edit your orders in the Orders tab (read this guide to find out more).
Currencies supported by the PayPal payment gateway in Smartpages: Canadian dollars (CAD), Australian dollars (AUD), Mexican pesos (MXN), Swiss francs (CHF), Euro (EUR), British pounds (GBP), Polish zloty (PLN), US dollars (USD), Norwegian kroner (NOK), Indian rupees (INR), Brazilian reals (BRL), Danish kroner (DKK), Swedish kroner (SEK) and Malaysian ringgit (MYR)*.
*available for Malaysian PayPal accounts only
Customers can pay using their PayPal account or any major credit or debit card.
Get your API keys from PayPal
- Log in to your PayPal Developer account.
- Go to My apps & Credentials tab. Select Sandbox if you want to run a test transaction, or click on Live to proceed with the actual sale of products. You need a Business account to go live and process live transactions.
- Select an app from the list or create a new one.
- If you create a new app, enter a name and select Merchant or Platform. Click on Create App.
- Copy the Client ID (1) and Secret (2).
- Scroll down to App Settings and verify whether all the required boxes are checked. If you want to sell products, you must select Accept payments, others are optional. Go to Smartpages.
Activate the PayPal gateway in Smartpages
- Log in to the Smartpages platform, click on your profile/account name in the upper right corner and go to Payment Gateways.
- Navigate to the PayPal section. Paste your Client ID and Secret key and select Sandbox or Live. Save changes.
- Now you can add a buy button to your landing page. On the left side of the editor, find the PayPal button, then drag and drop it into the active area of your landing page. Go to its Settings.
- Select a product from the list or add a new one and refresh the list to link it to this payment gateway. Click Save and close. You can only add one product to a single payment gateway button.
You can view, add and edit your products in the Products tab.
- In the Next Action tab, you can specify an action after the payment has been made. By default, the user will be redirected to a thank you page, but if your landing page has multiple payment gateways or other signup forms, you can create and link a landing page that displays only after a transaction is completed.
- All set! Now you can publish your landing page.
- The user will be redirected to the PayPal checkout.
EMBED A PayPal BUTTON AS HTML WIDGET
Items sold via this PayPal button will not be loaded to your list of orders in Smartpages. You can embed a PayPal button as an HTML widget.
Get your HTML snippet from PayPal
- Log into your PayPal Business account and go to the PayPal buttons page.
- Select a button that you want to create.
- Complete the required fields.
- If you select the Buy Now button, in step 3, paste the URL of a landing page that the user will be redirected to when the checkout is finished or canceled.
- Click on Create Button and copy the code. If you select the Buy Now button, copy the Website code. Go to Smartpages.
Install the HTML snippet in Smartpages
- Log in to your Smartpages account and go to the editor of your landing page.
- On the left side of the editor, find the HTML widget, then drag and drop it into the active area of your landing page.
- Paste the PayPal button snippet in the Add custom HTML field and save changes. You have to publish your landing page to see the PayPal button.
PayPal FORM INTEGRATION
The PayPal checkout is activated when a user submits a form.
Items sold via this PayPal button will not be loaded to your list of orders in Smartpages.
- Complete the required fields.
- In step 3, paste the URL of a landing page that the user will be redirected to when the checkout is finished or canceled.
- Click on Create Button and copy the Email code. Go to Smartpages.
- Click on Add script.
- Edit the following code:
Find %paypalcodehere% and replace it with your PayPal snippet.
- Type in a name (1), paste your custom code (2), select Body bottom (3) and Conversion page (4). Click on Add.
- If you want to forward the email address that the user submitted in the form on your landing page, add the following snippet to the script (between the &amount and ¤cy parameters) and save changes:
- Go to the editor of your landing page, add a Form widget and publish the landing page.