How to Integrate a Payment Gateway Into a Website

Download ArticleDownload Article

A payment gateway allows your online store to accept credit card payments from customers. Payment gateways cost money and charge per transaction, and there are a lot of them to choose from. Picking the right gateway can help save you money and keep your business running smoothly. Once you've chosen your payment gateway, integrating it into your online store software is a snap.

Part 1
Part 1 of 2:

Choosing a Payment Gateway

Download Article
  1. How.com.vn English: Step 1 Understand what the gateway does.
    The payment gateway processes the customer's credit card information by sending the data to the gateway's web server, which then makes the sale and sends the confirmation back to the website. You can quickly integrate your gateway into your website's shopping cart software.
  2. How.com.vn English: Step 2 Check with your web host.
    Your web host or online shop software provider may provide payment gateway services that you can quickly implement on your suite. Check your website's control panel or your online shop's admin page to see if there are payment gateway options.
    Advertisement
  3. How.com.vn English: Step 3 Browse your options.
    There are a lot of different payment gateways out there, and they can get a bit confusing. Before you start looking, check which gateways your shopping cart software supports. Your shopping cart software's support site should have a list of compatible payment gateways. Some of the more widely supported gateways include:
    • PayPal
    • Payza
    • Perfect Money
    • Egopay
    • SecurePay
    • Authorize.net
    • Verify
    • Braintree
    • SecurePay
  4. How.com.vn English: Step 4 Pay attention to fees and conditions.
    The payment gateway will typically charge you a one-time setup fee, a monthly fee, and then charge a small fee for each transaction processed. Compare rates to find the service that meets your needs the best.
  5. How.com.vn English: Step 5 Pick between an external or a direct gateway.
    External gateways (also known as "redirect") send your customers to another website to process the payment. Direct gateways (also known as "transparent") do the processing within your store, keeping the customer on your site. If possible, choose a direct gateway, as they look more professional.
  6. How.com.vn English: Step 6 Sign up for a merchant account.
    You will need to sign up for a merchant account, which you then link to your payment gateway. This will allow you to receive payments from the customer. Merchant accounts will typically charge you per transaction as well.
  7. How.com.vn English: Step 7 Sign up for your chosen payment gateway.
    Once you sign up for your gateway, you will be provided the necessary information that you will need to provide to your online store software.
    • This could be a login name and password, or it could be an ID and an authorization file.
  8. Advertisement
Part 2
Part 2 of 2:

Integrating the Payment Gateway into a Web Shop

Download Article
  1. How.com.vn English: Step 1 Set up your...
    Set up your web shop. Most online retailers will use third-party software to create a webshop for their customers. This software handles the creation of the ordering page as well as all the code for transferring payment information to the gateway. Creating this code from scratch is one of the most difficult tasks when it comes to web development, so it's usually best left to professionals.
  2. How.com.vn English: Step 2 Add payment methods.
    The process for this will vary from service to service, but generally, you will need to enter your payment gateway information for each method of payment you intend to accept (Visa, Mastercard, etc.). Your payment gateway determines which cards are accepted.
    • You can do this from your online store's administration page. Find the Payments page, or something similar.
  3. How.com.vn English: Step 3 Test the gateway.
    You will typically be provided Test or Sandbox accounts by your payment gateway service. These allow you to perform fake transactions to ensure that the payment process is working correctly. Be sure to test before making your store live.
    • This will vary again from service to service. Check your payment gateway's support site for details on testing your gateway's integration.
  4. Advertisement




Community Q&A

Search
Add New Question
  • Question
    How many transactions does an electronic payment gateway do in an hour?
    How.com.vn English: Community Answer
    Community Answer
    That is totally dependent on the popularity of your online store and how many people purchase things from your store per hour.
  • Question
    Can I integrate payment gateway using java script?
    How.com.vn English: T Prime
    T Prime
    Community Answer
    Yes, but you will have to find the best encryption for your page to ensure that no one has the access to your customers' bank account info.
  • Question
    Do I need to use PHP code to add a payment gateway to my website?
    How.com.vn English: Community Answer
    Community Answer
    No. Payment gateway will redirect to your custom URL which will be caught by your app and you will be able to process information in your app no matter the language. Something similar is happening if you use OAuth for various third-party APIs.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      Tested by:
      How.com.vn Technology Team
      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 54 people, some anonymous, worked to edit and improve it over time. This article has been viewed 421,512 times.
      170 votes - 73%
      Co-authors: 54
      Updated: September 20, 2023
      Views: 421,512
      Categories: Business Promotion
      Thanks to all authors for creating a page that has been read 421,512 times.

      Reader Success Stories

      • How.com.vn English: Abegail Louise Acosta

        Abegail Louise Acosta

        Jan 9, 2017

        "Sweet! Been searching about website and technology integration and other ways to improve my website. This site..." more
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement