7支付宝支付基础

Image(3)

Image(4)

mvc

网关地址 http://xxxxxx.com/return_url

回调地址 http://xxxxxxx/alipay/notify_url

https://docs.open.alipay.com

手机网站支付可以调起支付宝客户端支付,若无法唤起则自动进入网页支付流程

Image(5)

支付流程

https://docs.open.alipay.com/203

demo

https://docs.open.alipay.com/66/104511

Image(6)

MD5key

https://docs.open.alipay.com/58/103545/

RSA私钥公钥生成

https://docs.open.alipay.com/58/103242

注意

关于密钥:  利用密钥生成器生成 商户私钥和商户公钥,公钥放到网上保存,生成支付公钥(注意:是支付公钥,和商户公钥不同)

注意:在支付时,要想换起手机支付宝(装有支付宝APP)功能,需要把测试包中WebRoot下的alipayapi.jsp:

sParaTemp.put("app_pay","Y");//启用此参数可唤起钱包APP支付。释放。从而达到手机APP支付的相同体验。

原文地址:https://www.cnblogs.com/fingal/p/8591256.html