PayPal Payment Buttons

This page shows you how to create a PayPal button on your site for simple payments. This solution is designed for when you want to receive payments directly from the site, and don't need a full e-commerce solution.

You must have a PayPal business account to use this button.

Note: For a comprehensive online shop solution, visit the Limecube e-commerce solution docs.

Setting up your button

Below are the options available when creating a PayPal button.

Name Product name appearing on PayPal when checking out.

Client ID This is an ID generated by PayPal and needs to be entered here.
  1. Production - Is for a live button
  2. Sandbox is a test environment where you can check how the button works without using real money
Price
  1. The price the user will be charged when checking out on PayPal.
  2. Currency should also be chosen.
Card logos Turned on this will display credit cards that can be used when checking out on PayPal.
Locale Sets the country you are from.
Redirect Allows you to choose from a page you have created within Limecube. After successful payment on PayPal, users will be returned to this page.
Color Choose from a color for your button
Shape Choose the shape of your button
Size Selects the size of your button:
  1. small
  2. medium
  3. large
  4. responsive - responsive makes the button fit the full width of the area it is placed in the page.

How to generate your secure PayPal merchant ID

Firstly you need to make sure your PayPal account is a business account, not a personal account.

Go to: PayPal Developer Page. Login.

On the 'My Apps & Credentials' tab on the left Scroll down to the 'REST API apps'

My Apps & Credentials

  1. Create an app by clicking Click 'Create App'
  2. In the App Name, enter a name that is meaningful (it is only visible to you) and
    1. changing business account email is optional
  3. then click the Create App button
  4. At this stage you'll have a new screen that shows your 'SANDBOX API CREDENTIALS'
  5. Copy that client ID and place into the Client ID field in the PayPal element in Limecube.
    client ID
  6. Repeat this same step for both Sandbox and Live as shown in the buttons in the screenshot above
  7. In your Limecube element settings, on the left of your 'Client ID' click the Sandbox / Live toggle to display and copy the client ID for each environment.
    1. Product on Limecube = Live on PayPal
'Live' will only work if you have a business account.

These steps you will only need to perform once to get your ID and you don't need to repeat this each time you create a new buttons on Limecube. For any new buttons, simply use these same IDs.

Testing

It is important to test your PayPal payment button before making it live. Follow these steps:

  1. Open your PayPal button settings.
  2. Next to the client ID, change the dropdown to 'Sandbox' (test mode) if not already set.
  3. Test the button by clicking it and following all steps through to returning to your website after payment.
    • In sandbox mode, no real payment will be taken.
  4. Place the button on a hidden page while testing to ensure everything works correctly.
We recommend placing the button onto a hidden page while testing, till you get everything working correctly.

FAQs

Yes, a PayPal business account is required to use the PayPal payment button.

No, this feature is intended for simple payment requirements. For a full e-commerce solution, check Limecube's e-commerce options.

Set the client ID to 'Sandbox' in the PayPal button settings, then place the button on a hidden page and complete a test transaction.

Troubleshooting

Ensure your client ID is set correctly and you have a PayPal business account. Test in 'Sandbox' mode first.

Verify that the PayPal button is live and not in 'Sandbox' mode. Ensure your PayPal account is properly configured.

Check if the button is correctly placed on your page and you are viewing the correct page. If it is still not showing, log a support request.

Can't find the answer you are looking for?

Try using searching below: