How to setup the Stripe Payment Gateway

Modified on Thu, 23 Feb 2023 at 04:42 PM

This article outlines the requirements and steps to setup Stripe payment gateway in Pegboard v6.5
 
Minimum Requirements
  1. Pegboard v6.5.2211.5190
 
Stripe Requirements
 
The following keys are required for setting up Stripe. Each item below identifies the key, and where to find this key in the Stripe website. Make sure you've got your Stripe log-in details ready.
  1. Account ID
    • Go to the User Settings
    • Scroll down to Account section
    • The Account ID should look similarly to this acct_XXXXXXXXXXX
  2. Publishable Key
    • Go to the API keys area
    • Switch to Test mode or Live mode by toggling on or off the Test mode option found at the upper right corner.
    • In Standard Keys table, locate the token for Publishable key
  3. Secret Key
    • Go to the API keys area
    • Switch to Test mode or Live mode by toggling on or off the Test mode option found at the upper right corner.
    • In Standard Keys table, locate the token for Secret key
 
The Stripe keys can come in TEST mode and LIVE mode. It's always advisable to test the Stripe payment gateway in your Pegboard v6.5 site using the TEST keys before switching to the LIVE keys, so it's better to have both sets of keys ready. The Account ID is the same regardless of the mode.
 
Configuring the Stripe payment gateway
  1. Log-in to the admin console of your Pegboard v6.5 website.
  2. Select Modules > ECommerce > Manage Gateways
  3. Click Add New button. This will display a section with editable Merchant Gateway Settings.
  4. Fill in the following fields
    • Gateway Description (e.g. Stripe)
    • Gateway Name (select Stripe from the dropdown control)
    • Address - set the value to https://js.stripe.com/v3/
    • Port - set the value to 0
    • Merchant ID/Number - set this to your Account ID
    • Merchant Code - set this to your Publishable Key
    • Merchant Key - set this to your Secret Key
  5. Click Save button just below Merchant Gateway Settings
  6. Click Save button at the upper right corner
  7. Select Modules > ECommerce > Settings
  8. Under Payment Types look for Credit Card and set its Gateway to Stripe.
  9. Click Save button
 
Testing The Stripe payment gateway
 
A test credit number is available to test the Stripe payment gateway provided that the keys used when setting up the gateway are test keys. You cannot use this test credit number on a Stripe payment gateway using LIVE keys. The following are the test credit card details:
 
Card number: 4242 4242 4242 4242
Expiry date: Any future date in mm/YY format
CVC: Any 3-digit number
 
 
 
 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article