-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : Chrome Version 42.0.2311.135 (64-bit)
Hi there,
I'm using alipay payment method for by website. Trade can be made after redirected to alipay website.
However, the order status is not updating after redirected back to my site, although the message like "Thank you for your purchage @ xxxxx" is displaying properly.
I looked into the code, not sure if I found out the cause of issue or not:
In the return_url or notify_url of alipay, they're:
$notify_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=alipay&tmpl=component&lang='.$this->locale.$this->url_itemid;
and
$return_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id='.$order->order_id.$this->url_itemid;
They both have query string. However, in the integration document officially provided by alipay, says the reture_url or notify_url can't have query strings. Maybe that's why the order status from alipay seems not being read, and error email saying "An Alipay notification was refused because the response from the Alipay server was invalid" continually occurs.
I'm not sure how do you control this return_url and notify_url issue for alipay, so I'm trying to get help here.
Thanks for your time.
Regards,
Yang