Paypal Form

Description

PayPal Form inserts a contact form into a WordPress website and connect it to a PayPal payment.

Once the user has filled the PayPal contact form fields and click the submit button the posted data is saved into the WordPress database and the user is automatically redirected to PayPal to complete a payment. After completed the PayPal payment, the website administrator (the email indicated from the settings) will receive an email with the form data and the user will receive a confirmation/thank you email.

Both the paid and unpaid requests sent from the contact form will appear in the WordPress settings area with the mark of “Paid” or “Not Paid” so you can check all the details and contact the user if needed.

This WordPress plugin is useful for different types of contact forms, booking forms, consultation services, payments for joining events, ect…

Features:

PayPal Form has the following main features:

  • Supports many contact forms into the same WP website, each one with its own prices and settings.
  • Allows checking the messages for both paid and un-paid submissions sent from the contact form.
  • You can customize the notification email details, including from address, subject and content with the contact form fields.
  • The website administrator receives an email notification of the paid contact message.
  • The customer receives a “thank you – confirmation” message.
  • Easy setup of the PayPal payment, basically just indicate the price and email linked to the PayPal account. There are optional fields for language and currency settings.
  • Export the contact form messages to CSV/Excel
  • Support PayPal taxes configuration
  • Support recurrent payments
  • Supports donation layouts
  • Optionally request address at PayPal (useful for the delivery of tangible items)
  • Includes optional captcha verification as part of the contact form.

How it can be used

These are some possible scenarios where this plugin is useful:

  • Contact form linked to a PayPal payment
  • As a PayPal button
  • For accepting donations through PayPal (leave a zero amount in the payment amount)
  • Support request forms or paid assistance contact forms
  • For receiving product orders, purchases, bookings and reservations.
  • For automatic delivering of information after payment (put the information into the auto-reply message)
  • … any other use involving contact forms and PayPal payments

Pro Features:

The following features aren’t part of the free version. The following features are present only in the commercial versions:

  • Visual form builder: The free version includes a classic predefined form. If you need a different form you will need one of the commercial versions.
  • Work without PayPal, discount codes and dynamic/open prices, additional configuration settings.

If you are interested in a version with the pro features you can get it here: http://cfpaypal.dwbooster.com

Language Support

The Contact Form with PayPal plugin is compatible with all charsets. The troubleshoot area contains options to change the encoding of the plugin database tables if needed.

Translations are supported through PO/MO files located in the Contact Form with PayPal plugin folder “languages”.

The following translations are already included in the plugin:

  • Afrikaans (af)
  • Albanian (sq)
  • Arabic (ar)
  • Armenian (hy_AM)
  • Azerbaijani (az)
  • Basque (eu)
  • Belarusian (be_BY)
  • Bosnian (bs_BA)
  • Bulgarian (bg_BG)
  • Catalan (ca)
  • Central Kurdish (ckb)
  • Chinese (China zh_CN)
  • Chinese (Taiwan zh_TW)
  • Croatian (hr)
  • Czech (cs_CZ)
  • Danish (da_DK)
  • Dutch (nl_NL)
  • Esperanto (eo_EO)
  • Estonian (et)
  • Finnish (fi)
  • French (fr_FR)
  • Galician (gl_ES)
  • Georgian (ka_GE)
  • German (de_DE)
  • Greek (el)
  • Gujarati (gu_IN)
  • Hebrew (he_IL)
  • Hindi (hi_IN)
  • Hungarian (hu_HU)
  • Indian Bengali (bn_IN)
  • Indonesian (id_ID)
  • Irish (ga_IE)
  • Italian (it_IT)
  • Japanese (ja)
  • Korean (ko_KR)
  • Latvian (lv)
  • Lithuanian (lt_LT)
  • Macedonian (mk_MK)
  • Malay (ms_MY)
  • Malayalam (ml_IN)
  • Maltese (mt_MT)
  • Norwegian (nb_NO)
  • Persian (fa_IR)
  • Polish (pl_PL)
  • Portuguese Brazil(pt_BR)
  • Portuguese (pt_PT)
  • Punjabi (pa_IN)
  • Russian (ru_RU)
  • Romanian (ro_RO)
  • Serbian (sr_RS)
  • Slovak (sk_SK)
  • Slovene (sl_SI)
  • Spanish (es_ES)
  • Swedish (sv_SE)
  • Tagalog (tl)
  • Tamil (ta)
  • Thai (th)
  • Turkish (tr_TR)
  • Ukrainian (uk)
  • Vietnamese (vi)

Updates

New features has been published in the current PayPal Form version 1.1.49 based on the feedback received and we would like to thank you all the people that have supported the development, provided feedback and feature requests. The plugin is currently about the 100,000+ downloads/installations and a new set of updates is already being prepared, any feature requests will be welcome. Thank you!

Note

PayPal Form plugin has been developed by an Official PayPal Partner.
Requesting address at PayPal: If you are selling tangible items and you need to request the customer address at PayPal you can enable that option into the settings field “Request address at PayPal” available separately for each contact form.

Taxes at PayPal: You can indicate the taxes to charge at PayPal over the “request cost” as a percent into the settings field “Taxes (percent)”. Each contact form can have a different taxes setting.

Edit submit button label: You can easily edit the submit button label into each contact form settings. The class=”cp_subbtn” can be used to modify the button styles. The styles can be applied into any of the CSS files of your theme or into the CSS file “cp-contact-form-with-paypal\css\stylepublic.css”. For further modifications the submit button is located at the end of the file “cp_contactformpp_public_int.inc.php”.

Use a specific field from the form for the payment amount: If a field is selected in this settings field, any price in the selected field will be added to the above request cost. Use this field for example for having an open donation amount. This field is more useful in the pro version since it supports adding more fields to the contact form.

Button to change status to paid: The messages list contains a button to change the status of the “Not paid” contact form messages to “Paid”. This is mainly for administrative purposes.

Export data to CSV/Excel: The messages list contains an option to export the contact messages received from the contact form to a CSV/Excel file. This way you can export the email address and other data from the contact messages to other applications or manage the data in Excel. The filters in the message list apply also to the exported CSV/Excel file.

Enabling donation layout: The plugin supports enabling the PayPal donation layout, this way a payment page improved for donations is displayed to the donors.

Screenshots

  • Sample PayPal contact form
  • PayPal Contact Forms List
  • PayPal Contact Form Settings
  • Inserting a PayPal contact form into a page

FAQ

Q: What means each field in the PayPal contact form settings area?

A: The product’s page contains detailed information about each contact form field and customization:

http://cfpaypal.dwbooster.com

Q: Where can I publish the PayPal form with the PayPal button?

A: You can publish the PayPal contact forms / PayPal button into pages and posts. Other versions of the plugin also allow publishing the PayPal form as a widget.

Q: The PayPal payment has been received but the status of the Message isn’t being set to Paid. What happens?

A: First check if you are testing the PayPal form on a local website or in an online website. Note you should test this feature into an online website (local websites cannot receive PayPal IPN connections).

After that initial verification, please check if the IPN notifications are enabled at your PayPal account. Check also the IPN logs at your PayPal account to confirm if are being received.

Q: I’m not receiving the emails after PayPal payment.

A: Please check if the messages are marked as “paid” or “not paid” in the contact form messages page.

If the contact form messages are marked as paid then the problem is that your WordPress isn’t delivering the emails. You should setup the WordPress to deliver the emails according to your mail server settings. You may have to ask to your web hosting support about the requirements to send emails from WordPress/PHP with their hosting service.

On the other hand if the contact form messages aren’t marked as “paid” then the PayPal IPN connection isn’t being received. Read the previous FAQ entry for information and solution.

Q: How can I customize the style of the PayPal button?

A: The PayPal button is located at the end of the file “cp_contactformpp_public_int.inc.php”. It’s a classic submit button, you can change it to any other button that submits the PayPal form.

Q: How can I have an actual PayPal button as the submit button for the form instead of the default grey button?

A: At the end of the file “cp_contactformpp_public_int.inc.php” replace this:

    <?php _e($button_label); ?>

… by this:

    <img src="http://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" />

You may also want to change the background color of the button with the CSS style class=”pbSubmit”.

Q: How can I add specific fields into the contact form message?

A: There is a tag named %INFO% that is replaced with all the information posted from the form, however you can use also optional tags for specific fields into the contact form.

For doing that, click the desired contact form field into the contact form builder and in the settings box for that field there is a read-only setting named “Field tag for the message (optional):”. Copy & paste that tag into the message text and after the form submission (after clicking the PayPal button and receiving the PayPal payment) that tag will be replaced with the text entered in the form field.

Q: Can I use this with PayPal Personal accounts

A: Yes, you can use it with PayPal Personal accounts and also with PayPal Premium and PayPal Business accounts.

Q: Can I accept credit card payments through PayPal directly without forcing the users to create a PayPal account?

A: That depends of the type of your PayPal account and its status. In most cases PayPal Business accounts and PayPal premium accounts allow accepting payments from users that don’t have PayPal accounts. In this case after clicking the PayPal button the PayPal page will appear with two options “Login at your PayPal account” and “Pay directly without having to register”. The title of the options at PayPal may vary.

Q: I’m having problems with non-latin characters in the PayPal contact form.

A: New: Use the “throubleshoot area” to change the character encoding. If you prefer to do that manually , in most cases the problem is located in the database table collation/encoding. The solution is to change the table encoding to UTF-8. You can do that from the PHPMyAdmin provided by your hosting service.

For example, if your WordPress database table prefix is “wp_” (the default one) then run these queries (will update only the PayPal contact form tables):

alter table wp_cp_contact_form_paypal_discount_codes convert to character set utf8 collate utf8_unicode_ci;
alter table wp_cp_contact_form_paypal_settings convert to character set utf8 collate utf8_unicode_ci;
alter table wp_cp_contact_form_paypal_posts convert to character set utf8 collate utf8_unicode_ci;

If you don’t know how to do that, contact our support service and we will help you.

Q: The contact form doesn’t appear in the public website. Solution?

A: In the “throubleshoot area” (located below the list of forms in the settings area) change the “Script load method” from “Classic” to “Direct”.

Q: How can I duplicate a form and its settings?

A: Use the “Clone” button located in the contact form’s list. That button will duplicate the contact form structure and all its settings.

Q: How to setup the PayPal Form to accept a PayPal donation?

A: To accept a PayPal donation (an open donation amount) just put a zero (0) on the “Request Cost” settings field. That way after filling the contact form clicking the PayPal button (contact form submit button) the PayPal payment page will appear letting the user to enter the amount to pay.

Q: How to show a company name instead the email address at the PayPal payment page?

A: To show a company name instead the email address at the PayPal payment page (after the contact form submission) you have to use a PayPal Standard Business account. Note that in Personal and Premier Standard accounts the email is shown instead the company name since there is no company name in that case.

Note also that if you are testing the contact form in the SandBox mode then the email may be shown instead the name of the production account.

Reviews

The force is strong with this one!!!

acoustimacllc

Karen Danson must have a midiclorian count that's off the charts! Not only did she do EXACTLY what I needed, she did it quickly and with great attention to detail. The test and debug period was quick and painless. She basically built a self service invoice payment page using a heavily modified version of her CP contacts form with Paypal, and adapted it to pull order data from magento! Now my magento site has something nobody else has and it's all thanks to Karen's outstanding talent and skill! I HIGHLY HIGHLY HIGHLY RECOMMEND them and specially Karen!

Read all 45 reviews

Changelog

1.0

  • First stable version released.
  • More configuration options added.

1.0.1

  • Compatible with latest WordPress versions
  • Speed improvements, the contact form loads faster
  • Improved validation options for the contact form fields
  • New email content editing feature and interface changes
  • New tooltip scripts
  • Fixed bug related to discount codes
  • Fixed conflict with captcha image generation
  • New feature to get the logged in user information into the notification email
  • Update to CSS styles for minimizing the CSS conflicts.
  • Improvements to CSS styles
  • Fixes problem with backslash when saving the contact form settings
  • PayPal Sandbox option added
  • Added language support through MO/PO files

1.1.2

  • Compatible with the latest WP versions
  • Better interface and access to the plugin options
  • Captcha image works better in different server environments
  • New translations added
  • Fixed bug in multisite installations
  • Minor bug fixes
  • Fixed warning that appeared with PHP safe mode restrictions
  • Fixed issue with the site home URL in WP with folders in non-default locations

1.1.3

  • Update to generate the IPN addres with HTTPS if available
  • Security update for SQL queries (vulnerability was found by Joaquin Ramirez Martinez with the help Christian Mondragon Uriel Zarate)
  • Fixed bug that caused double emails
  • Fixed issues with WP sites not configured in the default folders

1.1.4

  • Fixed bug in https detection
  • Improved documentation
  • Improved debug messages to get feedback
  • Compatible with the latest WordPress 4.2.x version

1.1.5

  • Compatible with the WordPress 4.2.2 version

1.1.6

  • Fixes security bug: CSRF, XSS, SQLi – thank you to Nitin Venkatesh for the report

1.1.7

  • Fixed issue in SSL detection for the PayPal IPN address
  • Improved captha generation code
  • Update to fix bug in captcha image generation
  • Update to the captcha processing code
  • Added nonce verification in the form settings
  • Security update for CSRF issue

1.1.8

  • Compatible with WordPress 4.3
  • Replacement of heading tags for the WP 4.3
  • Update to the Dutch language
  • Fixed a bug in the submission process

1.1.9

  • Fixed bug in submission process
  • New parameter for optimizing support

1.1.10

  • Admin interface updates

1.1.11

  • Supports PayPal recurrent payments

1.1.12

  • Supports for new language in troubleshoot area

1.1.13

  • Fixed menu slug

1.1.14

  • Option to bill the recurrent payments every two monts

1.1.15

  • Tested and compatible with WordPress 4.4
  • Fixed CSS bugs

1.1.16

  • Fixed query bug in WP 4.4

1.1.17

  • Fixed captcha issues

1.1.18

  • PayPal button update

1.1.19

  • Optimized CSS styles

1.1.20

  • Update to database structure

1.1.21

  • Fixed captcha bug in Windows servers

1.1.22

  • Improved captcha security

1.1.23

  • Updated website URL. New documentation and distributions.

1.1.24

  • French translation updated

1.1.25

  • Fixed PHP session issues

1.1.26

  • Shortcode paramters sanitization

1.1.27

  • Used SSL for API URLs

1.1.28

  • Added fr_CA translation

1.1.29

  • Added nonces to message list

1.1.30

  • Updated FAQ and doc URLs

1.1.31

  • Plugin support and demo links updated

1.1.32

  • New filter for file uploads

1.1.33

  • Tested for WP 4.5

1.1.34

  • Stripcslashes fix

1.1.35

  • Scripts moved to head section

1.1.36

  • Fixed bug in admin list

1.1.37

  • Added explicit error page

1.1.38

  • Improved initialization hooks

1.1.39

  • Wrong tag removed from PayPal form

1.1.40

  • Removed old versions of PayPal Form

1.1.41

  • New documentation

1.1.42

  • Fix in FROM email

1.1.43

  • IP Address excluded from email as default value

1.1.44

  • Security improvement

1.1.45

  • POST param sanitization

1.1.46

  • Better from email setup

1.1.47

  • Doc update

1.1.48

  • Fix to admin link

1.1.49

  • Change name to reflect exactly what the plugin does

1.1.50

  • Compatible with WP 4.6

1.1.51

  • New custom request form

1.1.52

  • New option to set lenght of initial period for PayPal recurrent payments

1.1.53

  • Fixed bug in saving settings data

1.1.54

  • IP address field update

1.1.55

  • Magic quotes processing correction

1.1.56

  • More updates about magic quotes

1.1.57

  • Roll back to incorrect update

1.1.58

  • Interface update

1.1.59

  • Donation layout documented

1.1.60

  • Update to French translation

1.1.61

  • New placeholder email

1.1.62

  • Better debug service

1.1.63

  • Fixed DB error on IP v6 networks

1.1.64

  • Int. typos corrected

1.1.65

  • PayPal IPN verification improvement

1.1.66

  • New documentation page

1.1.67

  • WP 4.7 compatible

1.1.68

  • Code optimizations

1.1.69

  • Instructions update

1.1.70

  • Database structure update

1.1.71

  • Fixed typo

1.1.72

  • Fixed typo

1.1.73

  • DB improvements

1.1.74

  • Security improvement

1.1.75

  • Admin interface modification

1.1.76

  • CSS update

1.1.77

  • Validation update

1.1.78

  • Fixed bug in add PayPal Form

1.1.79

  • Admin updates

1.1.80

  • Code updates

1.1.81

  • Security improvement

1.1.82

  • Help address updated

1.1.83

  • Compatible with WP 4.7.3

1.1.84

  • Update related to the parameters in the PayPal IPN notification

1.1.85

  • Using now only 1 parameter for the PayPal IPN notification

1.1.86

  • Tags updated to max 12

1.1.87

  • Added email validation in admin

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code