This guides details how to set up a new payment gateway for Stripe
Add the Stripe Account
In Omnireturns
If the payment account is only going to be used by one retailer then you can add it under Manage > retailer > select retailer > Own payment gateway
If that account is going to be used by multiple retailers then it should be added under
OmniReturns > Settings > Payment Gateway Settings >
select “Comany Wise Payment Gateway Setting”
All retailers under that company will have access to the accountSelect “Add Payment Gateway Setting” at the top of the screen
Enter fields per below
Root Gateway Name: STRIPE PAYMENT INTENTS API
Sub Gateway Name: retailername-live/test e.g. Return to the Fold - Live
Monthly Fees: 0
Monthly Fees Type
Domestic
%:1.6
$: 0.3
International
%:2.9
$: 0.3
Active: select Live if production account otherwise select Test
API URL: https://api.stripe.com (used for both live and test)
Secret key: from retailer
Publishable Key: from retailer
Publish:
Yes - if ready to go live
No - if not ready to go live
Click “Update”
Update payment account in Retailers hubs
Go to Manage > Retailer > enter Retailers name in Search > Click Search
Click “Edit” on selected retailer
Click “Assign Hub”
Under each Hub update fields
Gateway Type: OWN payment gateway
rootGateway:
If company: select company created
If retailer wise: SEKO Omni-Channel Logistics | STRIPE_PAYMENT_INTENTS_API
SubGateWay: Select account just created
Repeat for each hub
Scroll to the bottom, click “Save and Next”
Test Payment is working
...
Go to the retailers returns portal
...
Enter in an order number and email address (If you do not have one from the retailer, go the transaction report and get one from an existing return)
...
Go through the portal till the payment page
...
Enter in random card details
...
Click “Pay Now”
...
Retailers can now update this themselves, we should not be collecting any Stripe credentials due to security reasons. Documentation for retailers can be found at Add your Stripe account