Learn how to configure Stripe gateway in Listgo

From Listgo 1.3.6, You can setup Stripe gateway for your site. In this tutorial, I will show you how to do that.

API Keys

In order to use the Stripe payment gateway, you must first have a Stripe.com account. It’s free to create a Stripe account, and testing it is also free.

After you created an account, log into Stripe Dashboard, to get your Stripe API click on API from the sidebar

Unlike PayPal or 2Checkout, Stripe does not provide 2 type of accounts like Live Publishable key and Sandbox Publishable Key, instead Stripe provides View test data mode.

Now, please log into your site, from the admin sidebar, click on Wiloke Submission -> Settings -> Looking for Stripe Settings -> Enter your API keys like this

 

Zero-decimal Currency

It’s very important to understand this feature.

For example, Howard Roark comes from the USA. He set up a listing plan like this

 

but Stripe expects amounts to be provided in a currency’s smallest unit. It means we have to convert dollar to the cent, in other words, Stripe excepts 100*20 = 200 instead 20.

Unlike the USA, in Japan, there is no decimal for their currency so amount=1 (1 JPY), since ¥1 is the smallest currency unit. It means Stripe excepts 20 instead of 100*20.

You can find more information here https://stripe.com/docs/currencies#zero-decimal

Event Webhook

This configuration is very important. It helps to use Paid Trial  (Stripe only supports Free Trial), Downgrade and Upgrade Listing Plan.

Now, log into your stripe account, from the Stripe Dashboard, click on API -> Webhook -> Add Endpoint -> Enter your is like this structure:

yourwebsite.com/?wiloke-submission-listener=stripe

Testing Stripe

To test Stripe gateway on your site, you can use those card numbers https://stripe.com/docs/testing#cards

If you are using:

NonRecurring Listing Plan mode and Event Plan: You can check the invoice under Payments Menu

Recurring Listing Plan: You can check the invoice under Subscriptions Menu

 

 

Leave A Comment?