Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect issue after payment success #4

Open
grimmlink opened this issue Jan 24, 2014 · 1 comment
Open

Redirect issue after payment success #4

grimmlink opened this issue Jan 24, 2014 · 1 comment

Comments

@grimmlink
Copy link

Hi,

I updated the module and now after i successfully pay on alipay, im redirected to the notify page.

I think there is a problem in the order flow:
When creating the form for checkout we set parameters like :
'return_url' => $this->getReturnURL(),
'notify_url' => $this->getNotifyURL(),

and

return url is Mage::getUrl('alipay/payment/notify/', array('_secure' => true));
notify url is Mage::getUrl('alipay/payment/notify/', array('_secure' => true));

same

It means the customer will be redirected to a white page displaying "success"
He is never redirected to success page.

Could you add a new page for return, which redirect customer to success if status is TRADE SUCCESS ?

@sidealice
Copy link
Member

Hi,

Thanks , alipay's callback would first detect if we pass the notify url value to their server. If we have notify url value their system would ignore the return url.

That's why it confused you a lot. But we will make a page for the return url work, make it better and even perfect.

Thanks for your good suggestion and help us find out the missing point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants