Compare commits

...

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
0b8b1d7e24 Revert backend changes - Dummy should follow real provider flow, not Balance flow
Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
2026-02-14 15:58:58 +00:00
copilot-swe-agent[bot]
acd0ccacb5 Fix Dummy payment provider to auto-call payment callback
Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com>
2026-02-14 15:46:47 +00:00
copilot-swe-agent[bot]
ef0cccbaab Initial plan 2026-02-14 15:42:03 +00:00

View File

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