For the installation guide of the directorist Stripe gateway or any add-ons purchased from AazzTech, please check out our extension installation guide here. Continue reading this guide after you have installed the extension.
Configuring the checkout pages for payment gateways to work
First of all, you need to make sure you have all checkout related pages are set properly in the directory settings. If you have not set all checkout related pages, please set them following the guide mention here. Please continue reading this documentation after making sure checkout pages are set.
General Gateway Settings
Next, go to the Gateway Settings Tab and Configure the following settings:
- Active Gateways: Active gateways will be displayed in the checkout page. Check the Stripe Gateway in this field. Your users now will be able to pay using the Stripe Gateway.
- Default Gateway: You can show Stripe as the default gateway in the checkout page. The default gateway will be selected by default. Select the Stripe Gateway in the Default Gateway Dropdown and save the changes. See the screenshots below.
- Enabled Test Mode(OPTIONAL): If you want to test the integration of your gateway, then set the “Enable Test Mode” to “Yes“. No live transaction will occur if the test mode is enabled.
You must disable the test mode to collect payment from users on a live site by setting the “Enable Test Mode” option to “No“.
Setting up Stripe Gateway
Visit Directorist Listings > Directorist Settings > Monetization > Stripe Gateway page to customize stripe gateway settings.
Customize the Title and description of the gateway. The title and description of the gateway will be displayed in the checkout page.
Gettings Stripe APIs keys
Go to https://dashboard.stripe.com/test/apikeys to get your stripe API keys and then enter into the Live and Test API fields as shown in the screenshot. In the screenshot, we have only used test API keys to test the payment integration. However, you must use Live API keys for live transactions. And do not forget to turn the test mode off in the directorist gateway settings page.
Once you have configured your gateway, the next step is to manage orders. You will receive orders from your users when they purchase a premium feature of a listing or submit a listing using a pricing plan (requires Directorist Pricing Plans/Directorist WooCommerce Pricing Plans add-on). To know a detailed guide on how to manage orders in directorist, please check out this guide.