A step-by-step guide about creating a one-time payment form for selling one-off products.
In this tutorial, we’ll show you how to create and customize a one-time payment form.
We recommend going through the following steps:
This tutorial assumes that you’ve already configured your Stripe API keys.
You can switch to test mode on the “Full Stripe / Settings / Stripe account” page in WP admin:
You can add one-off products on the Stripe dashboard.
Make sure that you’re in test mode also in Stripe.
Go to the “Products / Overview” page, and press the “+ Add product” button:
Fill in the essential fields of the product and price, and press the “Save product” button:
Please make sure that:
You can create price variations for your product, and you can create as many products as needed.
You can create a one-time payment form on the “Full Stripe / Forms” page in WP admin, by pressing the “Add form” button:
On the next page, enter form name and display name, and select a form layout, and press the “Create & edit form” button:
You can compare and learn the difference between form layouts here.
Once your newly created form is saved, you’re redirected to edit the form.
You can add your products to the form on the “Payment” tab by pressing the “Add products from Stripe” button:
The dialog fetches the products from Stripe, you can select several products, and add them to the form at once:
When the form is saved, you’re ready to try it out.
For all customization options of the form, please go to the Customization section.
You can obtain the form shortcode on the “Full Stripe / Forms” page.
Please visit our dedicated knowledge base article on how to use shortcodes.
Once the form shortcode is inserted into a page, you can open the page, and test your form.
The form is fully-functional in test mode, and you can make payments using test cards to simulate every possible payment outcome.
No need to refund your payment after testing either.
Now that the form is up and running, you can customize the form if needed:
When you’re ready to go into production, there are only two things left to do:
You can flip the switch on the “Full Stripe / Settings / Stripe account” page in WP admin:
Our support team is happy to help you.Contact support
Feature requests are always welcome!
We consider each feature request carefully, and examine how it fits the roadmap for the plugin.