stripe-js
2 traces
- Stripe.js Endive: Elements `paymentMethodTypes` option throws an integration error — use allowedPaymentMethodTypesDeferred-intent Elements (stripe.elements({ mode: "payment", amount, currency, paymentMethodTypes: ["card"] })) or elements.update({ paymentMethodTypes }) stop working: Stripe.js throws and won't create or update the…
- Stripe.js clover: stripe.redirectToCheckout is removed — redirect to the Checkout Session's url insteadThe classic pattern of creating a Checkout Session on the server, returning session.id, then calling stripe.redirectToCheckout({ sessionId }) in the browser fails. Fix: Return the session URL from the server and do a…