We continue our series of articles related to payment forms with another useful guide. If you’ve read our previous article regarding the use of online and offline payment options on the same order form, you’ve learned how to include an offline payment option on your form and how to combine it with multiple payment gateways.
I have been quite excited in preparing this article, maybe because it shows the flexibility of the 123ContactForm engine that agencies can benefit from. If you are running or working for an organization that promotes other businesses, events or products, this is the article for you.
I’m not going to reiterate the fact that e-commerce has been around for some time, but I will say that many businesses we had the pleasure to work with, use PayPal to receive payments online. And because many of our customers use PayPal to receive money through form submissions, some of them were asking us about having several PayPal accounts linked to their order forms.
Adding multiple PayPal accounts to your online order form is easy and best explained this way: you need more than one form to have this scenario done. Depending on the number of PayPal accounts you want to use, you will have a primary form and several others that the primary form will redirect to, depending on certain conditions. So you’ll need to use form rules on your primary web form.
Before moving forward, may I add the fact that this article is not dedicated for PayPal users only. If you want to use multiple Stripe accounts on the same form, for example, or any other payment gateway that 123ContactForm provides, the steps are the same.
Having our share of agencies and event organizers that we work with, I’ve decided to create the following example:
Let’s say that I’m running an online publication about business, marketing and such. I’ve made some partnerships over the web with some event organizers that will hold some conferences across the United States. To help them increase their exposure and bring them more bookings, I have built the web form that you see below.
So there are three partners, each one of them being in charge of an event and use PayPal to sell their tickets. What I’ve done in the my form editor is add a single choice field with three available options.
Now I will create three separate forms, each one of them representing one of the events listed in my first form.
To make this tutorial easy to understand, I’m going to keep it simple by building each one of these three forms the same way. I will change the title of the form to the one of the event and add a Number field to the form, labeling it “Number of tickets”.
Now, if you have read my first article of the series on how to create a basic payment form with PayPal, you have learned a bit about assigning prices and adding PayPal to your form. But having only an input field, here’s what I’m going to do: after adding PayPal to my form, I’m heading over to Calculations.
Here I’m adding the field “Number of tickets” as a value to the assign values section.
I’m going to type in the amount of the ticket, let’s say $250 and verify in the payment summary that the field “Number of tickets” appears on one row only and is multiplied with 1.
What does this mean? Well, if you type in the field the value “1” you are required to pay $250 on checkout in PayPal. If you type in “2”, you will need to pay $500 or $750 if you want to buy 3 tickets. So you see, it’s quite easy.
Of course, you may combine more fields on the form, add ticket options, commodities and such. Building a complex event registration form, however, requires an article of its own, if you are interested in reading one on our blog in the near future.
Now, returning to the steps. I can now create my next two forms and add a certain PayPal account to each of them. I will just repeat the steps. So in the end I will have the general form, where the events are listed, and three other forms that are integrated with a particular PayPal account. All good here.
The final step is using conditional logic to link the forms. I’m going to access my general form again, the one that has all the three events listed in the single choice field. What I want to do is create three redirects based on the option that has been selected. So if a visitor selects the event in Chicago and presses “Book”, he/she will be redirected to the form of the Chicago event. Only then, after typing in the number of tickets needed will the PayPal checkout page come up on submission. And that money will go directly into the account of the Chicago event organizer.
As in my previous article related to online/offline payments, I will go to the Settings → Rules section of my form and use form rules to create these three types of rules:
By following these steps you can easily create your scenario, for example in donation. You can add some options through a single choice field for your visitors to choose the foundation they want to donate to, and have them redirected to the form of the respective organization to complete their donation.
As you can see, 123ContactForm is very flexible in providing you the solution you need. In the next article, I’m going to show you how easy it is to create a donation form.
What scenario do you have in mind? Let me find out more in the comments below.