C
C#17mo ago
Félix An

❔ How do I process a Alipay or WeChat Pay payment QR code (I scan the customer's payment code)...

...by calling their APIs?
5 Replies
Angius
Angius17mo ago
Most likely
Félix An
Félix An17mo ago
I mean, how? Like, how do I use the APIs? Expected behaviour: User sets desired amount of money to collect in program, then scans the payment code, causing the numbers to be entered into the program. The program then sends this code to the Alipay/WeChat Pay API (depending on which payment method is used) to collect the money, and tell the user if it was successful or not.
CaptainSh4dow
CaptainSh4dow17mo ago
what their docs says?
eric.xu
eric.xu17mo ago
The WeChat api or Alipay have a callback url that url will show the QR code to let customer pay Or you can search the github, there’s a library can do all things for you by input some configuration variables
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.