Closed hkbluesky closed 4 years ago
Hey @hkbluesky, sorry that you weren't able to find the relevant pieces for Alipay, they are included:
For further help with your integration, please ask questions via our email support or the technical chat on IRC: https://support.stripe.com/
Thanks. I examined the code before I asked. But I think the demo does not work for alipay. I set sourceData per your document.
https://github.com/stripe/stripe-payments-demo/blob/master/public/javascripts/payments.js#L319-L334
const sourceData = {
type: 'alipay',
amount: 1,
currency: 'usd',
redirect: {
return_url: 'https://shop.example.com/crtA6B28E1',
},
}
However, in https://github.com/stripe/stripe-payments-demo/blob/master/public/javascripts/payments.js#L414, the source has a null value. Could you check? Thanks
It works fine for me both locally and at https://stripe-payments-demo.appspot.com/:
Sorry, but this isn't a support channel, please use the official support channels mentioned above to get help with your integration.
Hi, could you provide the complete demo code for alipay including the front-end and back-end? This demo does not provide the complete demo code for alipay. Thanks