Connecting Stripe to your online store
Stripe is an online payment processing platform that allows businesses to receive payments over the internet. Connect Stripe as a payment method to your online store so that your customers can purchase your products in any currency using all major credit/debit cards.
Currently, Stripe operates in 42 countries. See the full list of supported countries on the Stripe's official website.
Step 1. Getting the Publishable and Secret keys
- Sign up or log in to the existing account on Stripe.
- Navigate to the Developers section on the sidebar and open the API keys section:
- Copy the Publishable key and Secret key:
Step 2. Connecting Stripe to your online store
- Open the Settings of the site and navigate to the Payment methods tab:
- Click Add near Stripe:
- If you have the live keys, enter them into the Publishable key and Secret key fields in the Connection section:
- Add a success redirect URL — a link to the page your customer will see after successful payment:
- Add a failure redirect URL — a link to the page your customer will see after failed payment:
- Add a title that will be displayed on checkout:
- Click Save to proceed with the integration:
- Go back to the Payment methods tab and toggle on the Stripe integration:
- Finally, publish your website.
Now your customers will see the Stripe payment option in the shopping cart:
Connect Stripe to work in test mode
You can connect Stripe in test mode to check the payment method's operation without using your bank card.
- Your Stripe account contains test data, namely Publishable key ① and Secret key ②, which always begin with the prefix
pk_test
andsk_test
. They need to be copied.
- Return to Weblium and activate the Test Mode switch, then paste the previously copied keys into the corresponding fields ①, ②:
- Save changes and publish your website.
- After setting up the test mode correctly, you can place a test order in your online store, where after filling out the shopping cart, you will see a payment page similar to this:
Updated on: 08/07/2024
Thank you!