How to add a payment gateway to your site

This article provides information on payment gateways and how to set up your accounts initially. These will allow you to collect payments from your users online. Have a look at the quicklinks below to jump to a specific section.

Quicklinks

TLDR

Setting up a Stripe account: sign up, provide business information, connect a bank account, set up payment processing, add products, integrate with the website, enable live mode.

Setting up a PayPal account: sign up, choose your account type, add funding source, set up payment processing, integrate with the website, and enable live mode.

Setting up a developer in Stripe: login, go to Developers, create API key, choose access level, optionally set expiration, share API key.

How to set up a Stripe account

  1. Go to the Stripe website (https://stripe.com/) and click on “Get started for free”.
  2. Fill out the required information such as your business name, email address, password, and country.
  3. Verify your email address by clicking on the link sent to your email.
  4. Provide additional information about your business such as the legal name, address, and tax ID number.
  5. Connect your bank account to Stripe. This is where you will receive payments from customers.
  6. Set up your payment processing settings such as currency and supported payment methods.
  7. Add products or services you want to sell and set the prices.
  8. Integrate Stripe with your website or platform. This can be done through the use of APIs or plugins for popular e-commerce platforms.
  9. Enable live mode to start accepting payments from customers.
  10. Note: You may need to provide additional information or verification documents to comply with their security and compliance policies.

How to set up a Stripe developer

  1. Log in to your Stripe account and go to the Dashboard.
  2. Click on the “Developers” tab in the top menu.
  3. Click on “API keys” in the sub-menu.
  4. In the “API keys” section, click on “Create a new key”.
  5. Choose the desired level of access for the developer. You can choose to grant them access to view or manage specific parts of your Stripe account such as charges, refunds, or subscriptions.
  6. Optionally, you can set a expiration date for the API key, which will restrict the developer’s access to your account after that date.
  7. Click on “Create Key” to generate the API key.
  8. Share the API key with the developer and instruct them to follow the Stripe documentation for integrating Stripe with their platform.

It’s important to note that you should only grant access to trusted individuals, as the API key provides full access to your Stripe account and the ability to make changes to it. If a developer no longer requires access to your account, you can revoke their API key from the “API keys” section of the Dashboard.

How to set up a PayPal account

  1. Go to the PayPal website (https://www.paypal.com/) and click on “Sign Up”.
  2. Choose the type of account you want to create: personal, business or premier.
  3. Fill out the required information such as your email address, password, and country.
  4. Verify your email address by clicking on the link sent to your email.
  5. Add a funding source such as a bank account or credit card to your PayPal account.
  6. Set up your payment processing settings such as currency and supported payment methods.
  7. Add products or services you want to sell and set the prices.
  8. Integrate PayPal with your website or platform. This can be done through the use of APIs or plugins for popular e-commerce platforms.
  9. Enable live mode to start accepting payments from customers.
  10. Note: You may need to provide additional information or verification documents to comply with their security and compliance policies.