• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: **HELP** Trouble with the PayPal Plugin

**HELP** Trouble with the PayPal Plugin 9 years 3 months ago #33961

  • kim.huff
  • kim.huff's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
I hope someone can help me here. If not, I am going to have to go shopping for a new way to do forms/PayPal payments ; unfortunately, I have already invested a great deal of time and money into making this work.

I have been using RSForm!Pro for some time now but I have never configured a PayPal plugin. I have actually only used two other RSForm!Pro plugins. :(

You can view the site here.

The form works GREAT. It opens in PayPal and shows the correct "total" amount, BUT we only want to collect a deposit of $50.00 How do I get the form to send only the $50 amount?

Tech support gave me the following link about custom scripts.

Using the info on the above page, I created the following script.
// Changing PayPal 'amount' parameter to be charged to $50
$paypal->args['amount'] = '50.00';

I have tried the word "amount" and "price" between the brackets, but neither works. I am confused as to which command/code is passing through there. The backend has information like {price} and {product} under the Payment tab, but the name of my field where the actual total is displayed is "Totalz."

I would prefer to show the $50 deposit and the amount due at the time of service. How do I figure out the correct code to make it do this? Or am I asking for something that is not possible?

Thank you in advance for your time.

Kim Huff
The administrator has disabled public write access.

**HELP** Trouble with the PayPal Plugin 9 years 3 months ago #33974

  • kim.huff
  • kim.huff's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
Just thought I would go ahead and post back the solution just in case someone else has the same issue.

If you want want to collect a deposit only, use the following code.
$paypal = RSFormProPayPal::getInstance();
$paypal->args['amount'] = '50.00';
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!