It’s realistic. I’ve done it. Using Cordova’s Alipay plug-in, go to Cordova’s official website plug-in to search for alipay or go directly to Github to search for Cordova alipay. The Alipay payment function needs to be activated on Alipay, and then the backend and front-end of the app must be coded together. Note: in Do not leave any private configuration such as Alipay's private_key on the front end of the app. Go to the background configuration.
It’s realistic. I’ve done it. Using Cordova’s Alipay plug-in, go to Cordova’s official website plug-in to search for alipay or go directly to Github to search for Cordova alipay. The Alipay payment function needs to be activated on Alipay, and then the backend and front-end of the app must be coded together.
Note: in Do not leave any private configuration such as Alipay's private_key on the front end of the app. Go to the background configuration.
http://jingyan.baidu.com/arti...
This is an ali payment I made before using the Cordova plug-in
Can be used for Android and ios
https://github.com/charleyw/c...