Welcome Guest, Not a member yet? Register   Sign In
auto return from paypal not working in sandbox mode

passing this

$this->paypal_class->add_field('rm', 2);
//auto return users to website

have set up in sandbox at this url

Auto Return:

auto return url
: http://jobr.in/clients/the-school-shop/p...nt-success

PayPal Account Optional:

but its not returning to url after payment

i m passing

$this->paypal_class->add_field('return', base_url().'pages/registration-payment-success'); // return url
$this->paypal_class->add_field('cancel_return', base_url().'pages/registration-payment-canceled'); // cancel url

these too

and one more question i have two methods and both have diffrent return urls will that work as i m passing return url in both of them

any help would be much appreciated

Thanks a lot

setting rm to 2 means a post return which means it will post data to an url. Maybe you have csrf enabled and not sending a correct token will give a 500 error!

everything working fine i make payment i get ipn notification
when i make payment there is a link return to this website when i click at that it returns to the page whose url i m sending as return url

but what i want that after making payment it should redirect to my success page thats what not happening

i am handling everything using ipn function it does not matter that at success url it paas anything or not but i just want it to redirect back to my success url after making payment

try wrapping the url in htmlspecialchars

what difference it will make its accepting already return url it redirecting too but when i click on return but i want it to return automatically........

Theme © iAndrew 2016 - Forum software by © MyBB