Stripe is now a valid payment gateway for storefronts. With an easy to use setup, its faster and easier than ever to have a payment gateway added into a storefront.
Note: Make sure you have a Stripe account set up before beginning the process.
Before we begin, you will want to log into your Stripe account, and make sure your account allows sending credit card number via Stripe API. Login to Stripe > Settings > Integration > Advanced Options > Enable "Handle Card Information Directly."
After clicking "Show Advanced Options," the setting should appear as below:
We do use Stripe's preferred "token" method when applicable, however it does not cover all of our platform's features. Such as saved cards, or processing a card directly in the admin. That's why the above needs to be enabled.
Login to your AmeriCommerce admin. Navigate to Settings > Payments & Taxes > Payment Gateways, and add a new Gateway. Choose Stripe from the drop down.
Now click Add in the top right, and you will be brought to the settings for the gateway. Here, you need click on "Connect to Stripe" button.
You will redirect to Stripe.com to authorize connecting to your account. Make sure your are login the correct account when you have multiple accounts with Stripe. Click on "Connect my Stripe account" button.
You will redirect back to your store gateway setup page, your Stripe account and API publishable key should filled in. Make sure you set which store you'd like this gateway to work on.
You can go through the rest of the options if you'd like to add a cost modifier, or authorize only. Just make sure to save at the end, and run a test order with an actual working credit card, to verify there are no issues connecting.
By default, Currency is USD. You can set up to accept different currency by add CURRENCYCODE=xxx in the config string. Here is the list of currency support by Stripe: https://stripe.com/docs/currencies