I am trying to integrate Alipay Gateway with my website using this.
I am getting the payment form but on redirecting to Alipay's website I am getting the ILLEGAL_PARTNER_EXTERFACE
(pic attached) error.
Few responses for the error online say payment type
is different for testing environment. Can anyone give any pointers how to solve this? Any other kit for Alipay integration with a Django(python)
based website ?
According to the official documentation here, the possible reasons for that error code are:
In your case, I guess it should be the first one.
There are several gateway types:
You need to make sure if your AliPay account is a business one, because only a business account can you use the Alipay Express gateway type.
Regarding examples, you can check
liuyug/django-alipay
, which is pretty similar tospookylukey/django-paypal
, assuming you had experience in integration with PayPal.OT: Sorry for not providing the direct links to the GitHub repos mentioned above. StackOverflow kept saying that I need at least 10 reputation to post more than 2 links.