PayPal
PayPal is an online payment service. The System - JoomForms PayPal plugin sends the visitor to PayPal to pay the total of the form, and PayPal tells your site when the payment is done.
What you need
- A PayPal business account.
- The System - JoomForms Payment and System - JoomForms PayPal plugins enabled in Extensions > Plugins.
- A form with price fields, a Total, a Choose Payment field and the (Payment) PayPal field. See Payments.
Settings
| Setting | What to enter |
|---|---|
| PayPal E-mail Account | The email address of your PayPal account. Payments go to this account. |
| Return URL | Where the visitor goes after paying. Placeholders work. Leave it empty to come back to your site. |
| Cancel URL | Where the visitor goes after cancelling on PayPal. |
| Live Mode | Yes (default) for real payments. No uses the PayPal sandbox for tests. |
| Language code | The language of the PayPal page, as a country code, default US. |
| Tax Type, Tax Value | Not applied in 2.1.2. Include any tax in your prices. |
How the payment is confirmed
JoomForms sends PayPal a notification address with each payment. You do not have to set it up in PayPal. When PayPal calls it, JoomForms checks the message with PayPal, checks that the receiver email and the currency match and that the amount is at least the form total, and then sets the submission to Accepted with PayPal's transaction ID. The deferred emails are sent at that moment.
The currency is the Currency in the JoomForms Options. It must be a currency your PayPal account accepts.
Test
- Create a sandbox business account and a sandbox buyer account at developer.paypal.com.
- Set Live Mode to No and enter the sandbox business email.
- Send the form, pay with the sandbox buyer and check that the submission shows Accepted.
Set Live Mode back to Yes and enter your real email when you are done.
Things to check
- PayPal can only reach your site if it is online; the notification does not work on a local test site.
- An eCheck payment that is still pending at PayPal is marked Accepted in 2.1.2. Check the payment in your PayPal account before you deliver.
- See Check each payment.