You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(payments): Update payment providers vs methods
- Because
- Sentry events frequently stating the "Server Components render" error occur for the CheckoutForm component
- CheckoutForm is a client component, but it is importing the Node server SDK for Stripe causing Next to try to bundle Stripe Node SDK into the client build and surfacing the Server Components render error
- Validation for paymentProvider was expecting an enum
- This occurred as some of the options for payment methods (e.g. Apple Pay, Google Pay) during checkout are considered valid payment provider types.
- We should distinguish payment providers and payment methods.
- This pull request
- Updates definition/usage of payment providers vs methods
- Closes PAY-3439
0 commit comments