Updated "Payment Package" for RSForm!Pro

in Development, RSForm!Pro on 08 Jan 2013 having 10
The "Payment Package" (Payment Plugin, PayPal Plugin & Offline Payment Plugin) has now been revised with new features that will allow you to create more complex order forms!
This update works only with RSForm! Pro R45 (and upwards), which is currently compatible with Joomla! 2.5 and 3.0.

The Product Price Mask

Up until now, all products would be listed as "Product Name - 0.00 USD". You can now specify how the products are shown along with their price. The default format is still kept as "{product} - {price} {currency}", but it can be changed at any time by going to Configuration > Payment > Product Price Mask.

  • {product}: will return the product's name.
  • {price}: will return the product's (formatted) price.
  • {currency}: will return the currency set.

The {currency} placeholder can be omitted. For example, it will allow you to display the product's price in $, while keeping the currency set to "USD" (so that the payment integrations work, since payment gateways will require the currency in this format). For example, you can set the mask to "{product} - ${price}". This will result in something like: "T-shirts - $9.99".

A new price placeholder

There's a new placeholder {field_name:price} (of course, replace "field_name" with the actual name of your field) that will allow you to show the products formatted based on the Product Price Mask. Below you will see a list of the Payment Fields along with what their ":price" placeholder returns:

  • Single Product: the placeholder is hard-coded to {rsfp_Product:price}. A Single Product field can only be added once to your form and it is internally named "rsf_Product". The name cannot be changed. The product name will be the "Caption" property of the field.
  • Multiple Products: the placeholder will return a list of all the products have been selected, separated with the "Multiple Selections Separator" (that can be found in the form properties, by accessing Properties > Form Info > Multiple Selections Separator). The default separator for any form is the comma (,).
  • Donation: the product name will be the "Caption" property of the field. For example, by default it will return something like "Donation - 3.00 USD".

Fields are now adding up to calculate the total price

The "Total" field has now been completely rewritten so that it will sum up all of the payment fields added on your form. It will now take into account the "Single Product" and the "Donation" field. This allows you to use the "Single Product" field as a tax - a value that will always get added to the total.

The Total Price Mask

The mask can be edited by going to Configuration > Payment > Total Price Mask. This mask defaults to "{price} {currency}". It will allow you to specify how the total price will be shown in the "Total" field.

  • {price}: will return the total (formatted) price.
  • {currency}: will return the currency set.

Some bugs where fixed and code has been improved

The entire JavaScript that calculates the total price of the products is now much easier to read, understand and improve on. It has been rewritten from scratch.

You can now use "|Please select" in the "Multiple Products" field (when used as a dropdown). This will force the users to select another value from the dropdown.

The total price that gets sent to the payment gateway can now be manipulated from the "Script called on form process" area. You can use $_POST['form']['rsfp_Total'] to modify the total before it's stored in the database.



Subscribe to our blog

Found this article interesting? Subscribe to our blog for more.



Gravatar
Alexandru Plapana - 13.07.2015 (05:44:21)
@Nicholas

This would be more appropriate for the forum, or custom support area.

Quote
0

Gravatar
Nicholas Babu - 13.07.2015 (05:42:16)
Sell uploads

my website is still new, how do I enable a user to upload and set the price of a file in the front end of my website, for others to see,pay and download, eg pdf, psd, jpg etc

Quote
0

Gravatar
Alexandru Plapana - 05.01.2015 (04:02:32)

Quote :
Hi ,

"|Please select" in the "Multiple Products" field (when used as a dropdown). is not work for me , when i put "|Please select" as item ,This not force the users to select another value from the dropdown !

Thank you


Please submit a support ticket about this.

Quote
0

Gravatar
freelance maroc - 02.01.2015 (09:50:01)
please selet on multiple products

Hi ,

"|Please select" in the "Multiple Products" field (when used as a dropdown). is not work for me , when i put "|Please select" as item ,This not force the users to select another value from the dropdown !

Thank you

Quote
0

Gravatar
Alexandru Plapana - 13.01.2014 (02:37:13)
@Erik

@Erik,
Perhaps you should take into consideration using a shopping cart system, not a general form builder. What you are looking for, can't be implemented with the default functionality, but it is possible by using some scripting.

Quote
0

Gravatar
Erik N - 12.01.2014 (11:22:39)
PayPal Quantity and Cart Options

Even with this update, there doesn't seem to be simple ways to add Quantity or Cart options for Payal.
Please tell me that there is an easier way to utilize RSForm Pro with PayPal without having to create Javascript and PHP.
Thanks,
Totally frustrated,
Erik

Quote
1

Gravatar
Alexandru Plapana - 05.08.2013 (04:52:08)
@baris

The information is grabbed directly from within the product label. Unfortunately there is no built-in configurable option for this.

Quote
0

Gravatar
Baris Yilmaz - 01.08.2013 (13:43:38)
How to send details paypal

Hi
I using my Form Fields in the field edit box. This description textbox as PayPal would like to send information to the forehead. Where do I need and how can I change?
Thank you.
note: I'm a rookie

Quote
0

Gravatar
Alexandru Plapana - 07.02.2013 (03:54:11)
@Shari

The plugin is explained in grater detail here:
http://www.rsjoomla.com/support/documentation/view-article/782-rsform-pro-new-payment-plugin.html

If you do need customer support, please submit a support ticket here: http://www.rsjoomla.com/support.html

Quote
-1

Gravatar
Shari Chambers - 06.02.2013 (12:55:40)
trying to use the payment package

I have not a clue what I am doing wrong - I am not clear on how to make this plugin work in my form. Can you please send me an example ?

Quote
1

1000 Characters left

Antispam Refresh image Case sensitive