If you would like to use Pay Pal as a payment gateway option and would still like to allow users to check out on your site then you need Pay Pal Payment Pro. Here is how to configure it:
Setup PayPal Pro
Now that you have your form created the way you want it, it’s time to setup the PayPal Pro Add-On and connect it to your PayPal Pro account. This is done via PayPal Pro’s API and the setup requires you enter your PayPal Pro API account credentials on the PayPal Pro Settings page.
- Go to Settings under the Forms navigation in your WordPress admin dashboard.
- Select PayPal Pro from the Settings sub-navigation.
- Select the API for PayPal Pro integration. Live for the live PayPal Pro API for real transactions, and Sandbox for use with PayPal’s developer sandbox account for test transactions. Please Note: Using PayPal’s Sandbox API requires a PayPal developer account which you can sign up for here: https://developer.paypal.com/
- Enter the API Username for your PayPal Pro account.
- Enter the API Password for your PayPal Pro account.
- Enter the API Signature for your PayPal Pro account.
- Verify IPN has been enabled in your PayPal Pro account in order to enable Recurring Payments.
- Save your PayPal Pro Settings.
- If you entered your PayPal Pro account information correctly, your API credentials will reflect that they have been verified via a green check mark. If you do not see green check marks next to the credentials, please double check this information and try again.
- Setup PayPal Pro Feeds.
Setup PayPal Pro Feeds
Now that you have configured the PayPal Pro Add-On to work with your PayPal Pro account, and you have a form configured and ready to interact with PayPal Pro, it’s time to bring it all together by configuring the form to integrate with PayPal Pro. Just like all of Gravity Forms Add-Ons, this integration is done by creating a feed.
- Go to PayPal Pro under the Forms navigation in your WordPress admin dashboard.
- Select Add New to add a new PayPal Pro Feed.
- Select the PayPal Pro Transaction Type. You can choose from Products and Services which is a single one time payment, or Subscriptions if you have enabled PayPal Pro’s Recurring Billing option in the PayPal Pro Add-On Settings.
- Select the Gravity Form you would like to integrate with.
- If you have chosen a Subscription as your Transaction Type you will be given options for the Recurring Amount, Billing Cycle, Recurring Time, Trial Period and Setup Fee. These are used to setup the recurring payment profile. The Trial Period and Setup Fee should not be used together, you would use one or the other.
- Map PayPal Pro’s Fields to your Gravity Form Fields by selecting each field from the available drop down.
- If you would like the PayPal Pro integration to happen conditionally, enable the PayPal Pro Condition. The PayPal Pro Condition is a form of conditional logic that allows you to determine if the PayPal Pro interaction for this form should be triggered based on user input.
- Save your Feed.
About The Credit Card Field
The PayPal Pro Add-On enables the Credit Card Field in Gravity Forms. This field appears in the Pricing Fields toolbox of the Form Editor. This is a new field type that makes it easy to capture credit card information. It includes integrated card type detection so the user does not have to pick which type of card he is using and it also has built in validation to validate that the card format is correct.
This field does not actually store the Credit Card data. It is available as part of the initial form submission strictly as part of integration with the PayPal Pro Add-On and other payment gateway add-ons. This data will not be stored as part of the form entry and is not retained by your site, server, or database.
If you Preview or view your form on a page that is not secure, it will be obvious, both to you and your users if you do not properly secure the page. If the page is unsecured the Credit Card Field will be highlighted with a red warning. This warning will not be displayed if the page displaying the form is loaded via https with a valid SSL certificate.
PayPal Pro Subscription Cancellations
When setting up PayPal Pro subscription payments, please keep in mind that the only way to currently cancel a subscription is via the entry details in the WordPress Dashboard or your PayPal account.
PayPal will communicate back to your site via IPN when a recurring payment profile has been canceled.
Original articles published here: https://docs.gravityforms.com/paypal-pro-add-on/#setup-paypal-pro and ere: https://docs.gravityforms.com/paypal-pro-add-on/#setup-paypal-pro-feeds