• 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: Paypal

Paypal 14 years 9 months ago #10807

  • jeroenk
  • jeroenk's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi all,

We are organizing an event in november.

Therefore I need a form where the user can choose if he wants to pay directly with paypal or otherwise pay on the day itself.


Can anybody help me with this?


Cheers!

Jeroen
The administrator has disabled public write access.

Re:Paypal 14 years 9 months ago #10815

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

This can be achieved but it will require some custom scripting. You could try adding a radio group to your form where the user will select if he wants to pay when submitting the form (through PayPal) or on the event day. The script should check the user's selection and redirect to PayPal if the user selected to "PayPal" radio item. You can see an example on the script required to send your transactions details to PayPal here:

www.rsjoomla.com/customer-support/forum/...pal-integration.html

You can also see a PayPal form example on our joomla-form site:

www.joomla-form.com/
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Paypal 14 years 9 months ago #10834

  • jeroenk
  • jeroenk's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Thanks a lot, The code is working!
I used the following code and placed it under "after the form has been processed"

if (($_POST)== 'Paypal' )
{
$business = ' This e-mail address is being protected from spambots. You need JavaScript enabled to view it ';
$item_name = 'Registration Human Factors Event';
$currency_code = 'EUR';
$amount = 75;
header('Location: www.paypal.com/cgi-bin/webscr?cmd=_xclic...e.'&amount='.$amount);
exit();
}



Now I only have 2 more questions:)

1. the status is not on pending anymore. Now it says: "RSFP_PAYPAL_STATUS_"

2. can I do tests with this script without realy paying? Like the "Live mode" "yes" "no" option that the offial paypal form has.
Last Edit: 14 years 9 months ago by jeroenk.
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!