In this getting started guide for Caldera Forms PayFast, you will learn how easy it is to setup a payment processor inside Caldera Forms and start charging customers directly from your contact form.
Setup Caldera Forms PayFast Payment Processor
Once the Caldera Forms PayFast plugin is installed, this will add in an option under Processors inside your Caldera Form. In this step we will assume that you are creating a new form from the beginning.
- Inside your WordPress dashboard, navigate to Caldera Forms and select Forms.
- Select New Form and choose a template of your choice. We will use a Blank Form template.
- Name your form and click Create Form. Remember to name it something relevant.
- We are going to add the following fields:
- First Name – Set this to a text field.
- Last Name – Set this to a text field.
- Email Address – Set this to an email field.
- Hidden Field – Set the value of this field to the amount you would like to charge the user. You may use a calculation field as well.
- Submit Button.
- Once all these fields have been added to your form, select Processors and choose PayFast For Caldera Forms.
- Once the processor has been added, all the payment settings will be available for you to configure to your liking:
- Sandbox Mode – Check this option for testing purposes.
- Merchant ID – The merchant’s ID of PayFast.
- Merchant Key – The secret merchant’s key of PayFast.
- Passphrase – This is a secret password set inside PayFast and is optional.
- User Email – The email address of the user submitting the form.
- User First Name – The name of the user submitting the form.
- User Last Name – The last name of the user submitting the form.
- User Cell No. – The cell number of the user submitting the form.
- Initial Amount – The once-off amount that will be charged immediately.
- Item Name – The name of the item being purchased, shown on the PayFast checkout page.
- Item Description – The description of the purchase, shown on the PayFast checkout page.
- Payment Method – Choose a payment option for checkout.
- Recurring – Check this option if the payment should be automaticlly recurring.
- Recurring Amount – The amount to automatically charge the user, this is a fixed price.
- Frequency – When should the recurring billing occur.
- Billing Cycles – The number of recurring payments before stopping the recurring payment.
- Save your form and embed the Caldera Form shortcode where you would like to display the form.
Summary
This guide will show you how to setup the Caldera Forms PayFast Plugin for WordPress and will get you charging users using your contact forms in a matter of minutes. If you are experiencing troubles with this please feel free to open up a support thread.