- Real card declined after connecting Stripe to Base44? That's test mode, not a card problem. How to test with test cards, and what to check before going live from Israel.
If you connected Stripe to a Base44 app and your card was declined, the card is fine: the app is simply still running in Stripe's test environment, which only accepts test cards like 4242 4242 4242 4242. This has nothing to do with needing an American card; a real American card would have been declined just the same. The real challenge comes at the next stage: switching to live payments requires an active Stripe account, and as of today Israel is not on the list of countries Stripe supports.
The question came up in an AI group on Facebook, phrased the way many app builders phrase it: the connection worked, the test with a personal card failed, and the conclusion that follows is that "you need an American card." Two separate issues are stacked on top of each other here, and it is worth pulling them apart.
Why the Card Was Declined: Test Mode vs. Live Mode
Every request to Stripe happens in one of two worlds: the test environment (Sandbox) or Live mode. According to Stripe's documentation on API keys, in the test environment "card networks and payment providers do not process payments," and "you cannot accept real payment methods." Each world has its own keys, and objects from one world are not available in the other.
In Base44 this happens automatically. According to Base44's official documentation on setting up Stripe, the platform sets everything up in the test environment so you can experiment without real charges. That means from the moment you "connected" Stripe, the app works, but only with simulated money.
| Test Environment (Sandbox) | Live Mode | |
|---|---|---|
| Key prefix | pk_test_ and sk_test_ | pk_live_ and sk_live_ |
| Real money transferred? | No | Yes |
| Cards accepted | Test cards only | Real cards only |
| What happens with a real card | Declined | Actually charged |
| When to use | During development and testing | After the Stripe account is activated |
Source: Stripe, API keys, checked on 2026-10-03.
The decline is exactly what is supposed to happen. Stripe explicitly asks you not to use real card details for testing: according to its testing page, the terms of service prohibit testing in live mode with real payment details. Test with test cards, full stop.
How to Test a Payment in Base44 with a Test Card
According to Base44's documentation, this is the full process:
- Open the app and go to Dashboard.
- Navigate to Integrations and select Stripe.
- Click Try a test payment.
- Click Copy Card Number to copy the test card number.
- Open the app as a customer, go to the payment page, and paste the number.
- Enter any future expiration date and any three-digit CVC.
- Complete the purchase and verify that the app behaves correctly: the success page, the user's permission update, and an order record if you built one.
Base44's documentation makes clear that at this stage payments are created in Stripe's test mode and "no real money moves between accounts." You can also ask Base44's chat to build the payment flow for you, then test it in exactly the same way.
Test Cards Worth Knowing
One card that goes through is not enough. A solid app needs to know what to do when a payment fails as well. Stripe provides cards that simulate different scenarios:
| Scenario | Card Number | What you are testing |
|---|---|---|
| Successful payment (Visa) | 4242 4242 4242 4242 | That the purchase is recorded and the user gets access |
| Generic decline | 4000 0000 0000 0002 | That a clear error message is shown to the customer |
| Insufficient funds | 4000 0000 0000 9995 | That the user does not accidentally get access |
| Card reported as lost | 4000 0000 0000 9987 | Handling of a specific error |
| 3D Secure authentication required | 4000 0000 0000 3220 | That the authentication window opens and the payment completes |
Source: Stripe, Test card numbers, checked on 2026-10-03. For all cards: any future expiration date and any three-digit CVC.
One simple check that saves a lot of headaches: run the decline card and the insufficient-funds card, and confirm that the user did not receive access to paid content. That is the failure that costs the most money, because it goes unnoticed until someone exploits it.
Before Going Live: The Israeli Obstacle
This is the real reason behind the feeling that "you need something American." Switching to live mode in Base44 goes through your own Stripe account. According to Base44's documentation, the process is:
- Dashboard, then Integrations, then Stripe.
- Click Claim your Stripe sandbox and then Claim & Go Live.
- Sign in to an existing Stripe account or create a new one.
- Complete the registration details Stripe asks for.
- Once the account is activated, Base44 enables live payments and creates the live keys automatically. You can also enter them manually via Enter keys manually.
Two things to note. First: according to the documentation, you have 60 days to Claim the sandbox environment. Second, and more importantly, is step 4: Stripe needs to approve your business, and as of the check on 2026-10-03 Israel does not appear on the list of countries where Stripe is supported. Base44 itself states on that same documentation page that it currently has no built-in payment solution for Israel, and suggests connecting a payment provider of your choice as an integration.
In plain terms: an Israeli card belonging to a customer is not the problem. The problem is that an Israeli individual or company cannot be the owner of the Stripe account that receives the money.
Three Ways to Charge Money from a Base44 App When You Are in Israel
| Approach | How it works | When it fits | What to watch out for |
|---|---|---|---|
| A different payment provider as an integration | Base44's documentation suggests connecting a payment provider of your choice | An Israeli business selling primarily in Israel | Verify the provider has an API or payment page that can be integrated, and that it issues the documents you need |
| An American company with a Stripe account | Register a company in Delaware, for example through Stripe Atlas, and open a Stripe account under it | A product aimed at an international market | According to Stripe, 500 USD one-time and then 100 USD per year (checked on 2026-10-03). This has tax implications in Israel |
| Stay in test mode | Keep building and testing without live payments | A prototype, an investor demo, a demand test | No money is collected, and remember the 60-day Claim window |
On the second approach: registering a company abroad is a business and tax decision, not a technical one. Before doing it just to add a payment button, a conversation with an accountant who knows the subject will save far more than it costs.
On the first approach: connecting a different provider requires more work than the built-in Stripe integration. The usual approach is to ask Base44's chat to build the connection based on the provider's documentation, then test it first in the provider's test environment using the same method described here.
Checklist Before Going Live
Even after you have resolved the account question, here are the things to check before the first customer pays:
- The right Base44 plan. According to the documentation, Stripe is available on the Builder plan and above. According to Base44's pricing page, Builder costs 40 USD per month on annual billing (checked on 2026-10-03).
- All scenarios tested. Success, decline, insufficient funds, and 3D Secure authentication, using the table above.
- Products exist in live mode. According to Stripe, objects from the test environment, such as a product, are not available in live mode. Make sure products and prices exist in the live account as well.
- Payment confirmation does not rely on webhooks alone. Base44's documentation recommends confirming the payment on the success page while the user is still connected, rather than relying solely on webhooks.
- No secret keys in the code. Stripe emphasizes that only the public key (
pk_) is safe to expose. If you entered keys manually, make sure the secret key does not appear on the client side. - Privacy policy and terms of service. An app that charges money needs both. More on this in the guide on privacy policy and accessibility for AI-built websites.
- First real purchase. Only after switching to live mode, buy a low-priced item yourself and confirm the money arrived and access was granted.
If you are building the app for a client, there is an additional question: whose payment account? I broke that down in the guide on handing off a Base44 site to a client.
The Bottom Line
The card decline was a sign that everything was working. The test environment did exactly its job. The question you actually need to ask is not "which card will go through," but "who will the account that receives the money be registered to." Anyone who answers that question before they start building the payment page saves themselves the moment when everything is ready and no money can come in.
For anyone just getting started with the platform, the complete Base44 guide covers the fundamentals. And for anyone who wants to go the full distance in an organized way, from spec to an app that charges money, there is a short course for 9.90 ILS: Base44 2026: From Spec to a Working App.
Yaakov Tzedek is an AI lecturer, consultant, and AI implementation advisor for organizations, and leads the largest Claude Code community in Israel.
