Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features and Changes
On our Stripe billing page we accept US bank accounts. https://dashboard.stripe.com/settings/billing/invoice?tab=general
We have it selected to also accept Sepa direct debit and ACH direct debit but they don't show up.
On the checkout page we were only allowing credit cards.
On our /settings/billing page we warning people that they need to enter a payment option even when they had a bank payment option set up.
Testing
Set IS_CLOUD=true in .env.local for both front-end and back-end.
Set STRIPE_SECRET and STRIPE_PRICE to be the test secret and test price.
Start the server.
In mongo set "freeTrialDate" on the organization.
Click "Try Pro".
Click the button to buy.
See the bank option.
Pay by bank.
Click return to Growthbook
Go to http://localhost:3000/settings/billing and see that it says "You have a valid payment method on file. You will be billed automatically on this date."