Bug report
Describe the bug
Wechat and Alipay not working under production mod.
To Reproduce
- Deploy the latest repo to heroku (Nodejs) and fill in live keys
- Choosing location 'China' or 'Hong Kong' and click 'Alipay' or 'Wechat Pay'
Expected behavior
Won't jump to Alipay website or generate Wechat QR code.
POST https://xxx.herokuapp.com/payment_intents 500 (Internal Server Error)
createPaymentIntent @ store.js:95
(anonymous) @ payments.js:744
async function (async)
(anonymous) @ payments.js:18
(anonymous) @ payments.js:1039
payments.js:459 Uncaught (in promise) TypeError: Cannot read property 'amount' of undefined
at HTMLFormElement.<anonymous> (payments.js:459)
(anonymous) @ payments.js:459
Screenshots

System information
- OS: macOS
- Browser Chrome
- Server environment Node