feat: support AirWallex payment provider (#3558)

* feat: support AirWallex payment provider

* chore: add some information due to AirWallex's risk control policy
This commit is contained in:
Cutsin
2025-02-07 19:19:30 +08:00
committed by GitHub
parent 1a8cfe4ee6
commit b7a818e2d3
32 changed files with 334 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class PaymentResultPage extends React.Component {
payment: payment,
});
if (payment.state === "Created") {
if (["PayPal", "Stripe", "Alipay", "WeChat Pay", "Balance"].includes(payment.type)) {
if (["PayPal", "Stripe", "AirWallex", "Alipay", "WeChat Pay", "Balance"].includes(payment.type)) {
this.setState({
timeout: setTimeout(async() => {
await PaymentBackend.notifyPayment(this.state.owner, this.state.paymentName);