- Posts: 12953
- Thank you received: 1778
AliPay for Hikashop
this is the outgoing port number 80.
Please Log in or Create an account to join the conversation.
Update:
Just got this reply:
"Port 80 in/out TCP is already allowed in the firewall. Are you sure it isn't an issue with your IP not being white-listed by the payment processor?"
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you please test the new release and :
1. activate the debug mode in the configuration of your alipay plugin.
2. do a simple test of purshase.
3. and then send me screenshots of your logs (Hikashop -> Configuration -> Files -> see the report).
Regards,
Mohamed thelji.
Please Log in or Create an account to join the conversation.
Have done like you said. Here is the result:
The whole purchasing procedure went fine, but I am getting the error message via the email:
and
Hope this helps a bit.
Regards,
SeoWeb
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Thanks you for your test, the problem come from the second connexion to the Alipay server. I'll try to fix it.
/
UPDATE
\
I maybe figured what the problem was so can you test it for me please ?
Please Log in or Create an account to join the conversation.
and
Let me double check something with AliPay. May be some settingsw should be changed there. Will let you know
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I made few changes to the Alipay's plugin, can you test it and tell me if it works ?
if not, test it with the debug mode and tell me if you have something in your log.
Thanks.
Please Log in or Create an account to join the conversation.
We have some progress I think! Still some errors but it works more or less.
So after I have completed the payment I have got two emails:
1. An Alipay notification was refused because the response from the Alipay server was invalid
2. A Alipay notification was refused because the amount received () is different from the order amount (0.01CNY)
The order Status is 'None', we think because of the 'Invalid status' default settings of Plugin.
The Log File Content has been PMed to you.
Regards,
SeoWeb
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
Only after all steps mentioned above money are going to be transferred to seller's account. Alipay is totally different from PayPal.
Hope this makes sense.
SeoWeb
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that you can set your Alipay account so that you don't have to manually change the orders statuts to "Shipped" in Alipay.
So can you please :
- try to change your alipay configuration
- translate your configuration page with your browser
- send me a screenshots of your configuration with confidential's fields hidden
- change the line 254 in alipay.php :
- and test it again.
Thank you.
Please Log in or Create an account to join the conversation.
- There is no way we can set AliPay to change the status to Shipped automatically for us.
- There is no any setings really (Strange!)
- Since I have replased the line in alipay.php file with the one you have provided, I am only getting one error message instead of two:
The one I am getting is: "A Alipay notification was refused because the amount received () is different from the order amount (0.01CNY)"
and
The "An Alipay notification was refused because the response from the Alipay server was invalid" does not arrive via email any more.
Do you think this error might be because the "amount received" is actually empty: "()" , there is nothing there? Also the actual order_full_price is 0.01000 and not 0.01
Hope this helps a bit.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I think that this error came from the fact that alipay don't return the price, so the plugin is comparing '(nothing)' with '(0.01CNY)'.
I made a few change, can you test it please ?
Please Log in or Create an account to join the conversation.
It looks like we need to work on statuses now. When I will change the status of the Order to Shipped in Hikashop, it should trigger Alipay to make appropriate changes as well.
Regards,
SeoWeb
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
/
UPDATE
\
Hello,
I made few changes so can you test it please.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
/
UPDATE
\
Are you using HTTP or HTTPS ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.