• 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 Redirect doesn't work

Paypal Redirect doesn't work 9 years 2 months ago #34038

  • barisok9
  • barisok9's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hi,
So finally my submission for start working, but after payment it not redirect back to site. Also, i' trying to use the sandbox mode, but also something wrong. Live mode is set to no in configuration, but looks like the post script is override the configuration settings. In header below, it seems to be redirected to paypal and not the sandbox. What is the correct path should be there? Is there any other way to test it?

this is what i have in post script:
if($_POST['form']['Total'] != '0')
{
$business = 'barisok-facilitator@gmail.com';
$item_name = $_POST['form']['products'][0];
$currency_code = 'USD';
$amount = '4';
$quantity= $_POST['form']['quantity'][0];
$return = 'http://www.buchholzwrestling.com/';
header('Location: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business='.$business.'&item_name='.$item_name.'&currency_code='.$currency_code.'&amount='.$amount.'&quantity='.$quantity.'&return='.$return); exit();
}
Last Edit: 9 years 2 months ago by alexp. Reason: Use code tags
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!