Skip to content
GUIDES#Base44#Stripe#in-app payments

How to Connect Stripe to Base44: Test Mode, Test Cards, and Going Live from Israel

You connected Stripe to your Base44 app, tried to pay with your own card, and got a decline. The card is fine, and it doesn't need to be American. The app is simply still in test mode. The real challenge comes next: Stripe does not open accounts for Israeli businesses.

Yaakov Tzedek
Yaakov Tzedek · AI expert·8 min read
THE BOTTOM LINE
  • 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 prefixpk_test_ and sk_test_pk_live_ and sk_live_
Real money transferred?NoYes
Cards acceptedTest cards onlyReal cards only
What happens with a real cardDeclinedActually charged
When to useDuring development and testingAfter 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:

  1. Open the app and go to Dashboard.
  2. Navigate to Integrations and select Stripe.
  3. Click Try a test payment.
  4. Click Copy Card Number to copy the test card number.
  5. Open the app as a customer, go to the payment page, and paste the number.
  6. Enter any future expiration date and any three-digit CVC.
  7. 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:

ScenarioCard NumberWhat you are testing
Successful payment (Visa)4242 4242 4242 4242That the purchase is recorded and the user gets access
Generic decline4000 0000 0000 0002That a clear error message is shown to the customer
Insufficient funds4000 0000 0000 9995That the user does not accidentally get access
Card reported as lost4000 0000 0000 9987Handling of a specific error
3D Secure authentication required4000 0000 0000 3220That 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:

  1. Dashboard, then Integrations, then Stripe.
  2. Click Claim your Stripe sandbox and then Claim & Go Live.
  3. Sign in to an existing Stripe account or create a new one.
  4. Complete the registration details Stripe asks for.
  5. 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

ApproachHow it worksWhen it fitsWhat to watch out for
A different payment provider as an integrationBase44's documentation suggests connecting a payment provider of your choiceAn Israeli business selling primarily in IsraelVerify 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 accountRegister a company in Delaware, for example through Stripe Atlas, and open a Stripe account under itA product aimed at an international marketAccording 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 modeKeep building and testing without live paymentsA prototype, an investor demo, a demand testNo 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:

  1. 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).
  2. All scenarios tested. Success, decline, insufficient funds, and 3D Secure authentication, using the table above.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.

Frequently asked questions

Was this article helpful?
Share:WhatsAppLinkedInX
Yaakov Tzedek
WRITTEN BY

Yaakov Tzedek

An Israeli AI lecturer, consultant and implementer who has supported 100+ organizations in AI implementation and lectured for 200+. Official content partner of Meta, Google, Canva and TikTok, featured on Israel's Channel 13.

More about Yaakov →