一、前提
先參考:https://blog.csdn.net/sunroyi666/article/details/71107228
二、廢話不多說直接上代碼
https://github.com/Police-officer/unionpay
訪問支付接口:http://localhost:8080/union/pay,會跳轉銀聯到接口,輸入卡號點擊“”下一步“,”如下:
輸入測試對應的卡號信息:
以下是測試結果,返回商戶的回調地址後臺自己設置:
更多案例請移步:
一、前提
先參考:https://blog.csdn.net/sunroyi666/article/details/71107228
二、廢話不多說直接上代碼
https://github.com/Police-officer/unionpay
訪問支付接口:http://localhost:8080/union/pay,會跳轉銀聯到接口,輸入卡號點擊“”下一步“,”如下:
輸入測試對應的卡號信息:
以下是測試結果,返回商戶的回調地址後臺自己設置:
更多案例請移步: