đSteps to Set up a Basic Payment Form (with a Fixed Payment Amount)
Step 1) Head to CMS / Forms
Step 2) Create a New Form
Step 3) Add a Name and Redirect URL. Set up any Custom Fields you wish to add
Step 4) In the Payments Tab, Toggle Payments on and Select Basic Payment
For a basic fixed-amount set up, set the minimum payment value to exactly what you want users filling in the Form to Pay. For charitable donations and invoice payments, set the minimum payment to something minimal like $5 which avoids you making a loss on payment gateway fees for tiny transactions. Then look to Steps to Allow User to Decide Amount they Will Pay
Step 5) Optionally, Give Lifetime Access to a Secure Zone to Users Who Pay
In the Secure Zones tab, pick a Secure Zone. Access will be granted when payment is made and the Form is submitted.
Step 6) Save the Form
Step 7) Output your Form on a Page
Back in CMS Forms, find the ID for your newly created Form:
Use this ID in the Liquid tag when you insert the Form on the Page (or use Toolbox as a quick shortcut):
Your Payment Form is now set up and ready to accept payments using the minimum payment value you set.
Step 8) Testing
If your Payment Gateway is in 'Test Mode', then you may need to enter card details specific to the testing environment.
đšTest CardsStep 9) Install a SiteBuilder Layout or Create your Own Layout
If you are using the Stripe Payment Gateway, this step is optional.
For PayPal or Authorize.net, you will need to follow the relevant extra steps:
đAuthorize.net Basic Payment FormsđPayPal Basic Payment FormsSee SiteBuilder to install a plug and play, themed Form Layout for your payment Form:
https://github.com/Siteglide/documentation/blob/master/module-ecommerce/get-started-ecommerce/basic-payment-forms/broken-reference/README.mdAnd set your Form to use it with the layout parameter.
See the Forms Reference for creating your own Layout:
đģReferenceStep 10) Optionally, set your Basic Payment Form to Allow Users to Choose How Much they Pay
By default, the Form will charge the minimum amount, but for some use cases like donations or invoices, you may want to allow them to pay more:
đSteps to Allow User to Decide Amount they Will PayLast updated