Gravity Form Paypal Feed Itemize on Paypal

Online Payments -

Accepting PayPal Payments in Your WordPress Forms

Jeff Matson By Jeff Matson Published September 26, 2018

At times, setting up a quick and simple form for receiving PayPal payments on your WordPress site is far easier than a full e-commerce solution. While full solutions offer things such as inventory management and a deeper checkout process, it's often overkill to deploy a large-scale solution for just a few items.

Using a form on your WordPress site is also beneficial if you have advanced product configurations or a complex order process. For example, if you have a product with hundreds of different configuration options, using a form like a custom hat configuration tool (Yup! That's powered by Gravity Forms!), you might find that using a WordPress form builder to be a much better option.

Building a Basic Payment Form

Before you can start taking PayPal payments from your forms, you'll need to build it first. Of course, if you have already built your form and just need to set up PayPal, feel free to skip to the next section. If you're following along, here's what you'll need:

  • A WordPress site.
  • A PayPal account.
  • Gravity Forms.
  • The PayPal Payments Standard or PayPal Payments Pro add-on for Gravity Forms.

Got it? Awesome! Let's get started:

  1. Begin by creating a new form within Gravity Forms. This is done by clicking onForms on the left-hand side of your WordPress admin and then clicking onAdd New. Name your form and click theCreate Form button.
  2. The first field you'll need is theProduct field. On the right side of the form editor, open the Pricing Fields section, then click on theProduct field button to add the field to your form.
  3. Next, you'll need aTotal field for PayPal to read the payment total from. Inside the samePricing Fields section, click on theTotal field button to add the field to your form.

You've now created a basic payment form! Of course, we've left out things such as quantities and product options for the sake of simplicity, but we'll go over those a bit later.

Configuring PayPal Settings

WordPress PayPal Form Payments Feed Settings

If you've been following along, you've created a form that will allow you to sell products using any of the payment add-ons available for Gravity Forms. Next, you'll need to set up the payment gateway that will be handling the payments when the form is submitted. In this case, that payment gateway would be PayPal.

  1. From within the form editor on your newly created payment form, look to the top menu and hover overForm Settings, then click onPayPal. This will open theFeed Settings for the PayPal add-on.
  2. Next, you'll need to create a new feed for the PayPal add-on. To do so, click on theAdd New button.
  3. You'll now be presented with the settings for your new PayPal feed. The first setting you'll want to put in place is theFeed Name. Inside this setting, enter a name for your newly created feed. Don't worry too much about the name, it's just for you to be able to identify it later if you need to change something.
  4. The next setting you'll need to input is the email address associated with your PayPal account. Simply enter that email address into thePayPal Email Address field.
  5. We typically advise that you test your payment forms before taking any sort of live payments. If you want to test the form before running real transactions through it, selectTest within theMode setting.
  6. Finally, set the field that holds your total payment amount by selecting it in thePayment Amount setting. If you already have aTotal field on the form you're configuring, it should already be set to that field. If not, you may need to adjust it to reflect your individual needs.

Once you've made your changes, be sure to save your feed. There are other options available when taking payments via PayPal, but for the sake of simplicity, we've purposely left them out. If you would like more information on the various other fields that you can set when creating a PayPal feed, take a look at our article on creating a feed for the PayPal add-on.

Setting Up The PayPal IPN

WordPress Payment Forms PayPal IPN Settings

In this article, we've covered how to create a form that takes PayPal payments as well as passing those form submissions over to PayPal to complete the transaction. But how does PayPal relay the transaction data back to your form to know that payment was completed? That's where the PayPal IPN settings come in.

  1. To configure your PayPal IPN, you'll first need to get your IPN URL from within Gravity Forms. To do so, navigate to the Gravity Forms PayPal add-on settings by clicking on theForms menu item in your WordPress admin, click onSettings, then navigate to thePayPal settings tab.
  2. Within the PayPal add-on settings, you'll notice a URL listed there. Copy this into somewhere you can remember it later, as you'll need to provide it to PayPal soon.
  3. While you're inside the PayPal add-on settings, select enable thePayPal IPN Setting checkbox here as well. Don't forget to save your settings after you select it!
  4. Now that you have your IPN URL, you'll need to give it to PayPal. In a new tab, open the PayPal IPN Settings page, and click theChoose IPN Settings button.
  5. Remember the URL that you copied on step 2? Paste it into theNotification URL. Then, enable it using theIPN Messages setting and save your changes.

Congratulations! You've now established communication from PayPal to your site. Now that PayPal is able to communicate with your WordPress site, Gravity Forms will be able to determine if form payments are successful.

Additional Payment Form Settings

Remember earlier when we mentioned that there were additional settings that you could set such as quantities and product options? It's time to dig into those optional settings that will help you build the perfect payment form.

Standard Product Pricing

Inside Gravity Forms, most options are handled on a per-field level by clicking on the field in the form editor. The same goes for pricing fields. If you need to change the standard price of an item on your form, click on the field, then enter the amount into thePrice setting.

Adding Shipping Costs

If you're selling a physical product, you'll likely want to charge some sort of shipping cost. To do so, simply add theShipping field to your form (located inside thePricing Fields section of the form editor). Within the field settings, you can then set your shipping fees.

Disabling Quantity Fields

If you only sell single items and don't want the ability for people to set a quantity, you can disable theQuantity section of theProduct Field by selecting theDisable Quantity Field option in the field settings.

Allowing User-Defined Pricing

If you're doing something like taking donations on your forms, you might want to allow you users for set their own price when filling out your donation form. In that case, simply go to the settings on yourProduct Field and change theField Type setting toUser-Defined Price. Setting this option will allow users to set their own price on submission.

Need More?

If you need more information on accepting PayPal payments using WordPress and Gravity Forms, feel free to browse our extensive PayPal add-on documentation or leave a comment below.

Do you have a unique use-case or want to show off your PayPal forms? Let us know! We love seeing all of the great things that people use Gravity Forms for!

suareztordese.blogspot.com

Source: https://www.gravityforms.com/blog/paypal-payments-wordpress-forms/

0 Response to "Gravity Form Paypal Feed Itemize on Paypal"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel