* fix(stripe): use automatic_payment_methods when STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION=2
When using PaymentElement (mode 2), building PaymentIntent with an explicit
payment_method_types list (card only) and setup_future_usage=on_session
prevents redirect-based methods (Klarna, Bancontact, iDEAL, etc.) from appearing.
Switch to automatic_payment_methods: {enabled: true} in this mode so Stripe
respects Dashboard payment method settings. Terminal mode is explicitly excluded
as it is incompatible with automatic methods.
No new constant introduced — behavior is derived from the existing
STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION setting.
* fix: replace spaces with tabs in terminal block
* fix: replace spaces with tabs in terminal block
* fix: replace spaces with tabs in terminal block
* fix: replace spaces with tabs in terminal block
|
||
|---|---|---|
| .. | ||
| admin | ||
| ajax | ||
| class | ||
| lib | ||
| charge.php | ||
| config.php | ||
| payout.php | ||
| transaction.php | ||