简体   繁体   中英

Alipay payment gateway integration : ILLEGAL_SIGN error

ALIPAY PAYMENT GATEWAY RETURNS WITH "ILLEGAL_SIGN" ERROR.

I am new to payment gateway integration. I have been attempting to test alipay payment gateway (test environment).

At first, I opened a test-environment account which provides me "Cross-border Online Payment(PC)" credentials.

Here, alipay shows how a request should be sent. https://global.alipay.com/service/website/8

I followed above link and tried with my own credentials (ie my sign-type, sign, out_trade_no etc).

However, alipay throws "ILLEGAL_SIGN" error in return. Can you please guide me through what I am supposed to do?

在此处输入图片说明

Here is the url that i am hitting:

https://mapi.alipaydev.com/gateway.do?subject=Beautylish&sign_type=MD5&out_trade_no=1115919735609649&currency=USD&total_fee=2.2&partner=2088621921925641&notify_url=http%3A%2F%2Fwww.alipay.com&sendFormat=normal&return_url=http%3A%2F%2Fwww.alipay.com&sign=zwy07ak84xjo0oiet8vw41rg5rcsuxp4&_input_charset=UTF-8&service=create_forex_trade

I am searching through online, nothing seems to solve my issue. Am I missing something here?

Make sure you request supports UTF-8. The problem is on the requesting side of this any unfortunately the question doesn't provide that information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM