PayPal

Integrating PayPal Payments in MeDo

MeDo supports PayPal integration, allowing you to add payment capabilities to your AI-generated applications. With PayPal connected, you can build apps that collect payments from visitors — such as online stores, digital product pages, or service booking pages — and receive the money directly in your own PayPal account.

Buyers must sign in to your app before checkout so that payments and order history belong to the correct account. Browsing can remain public. When you copy an app, configure PayPal again with the new app owner’s Client ID and Secret; the original merchant configuration is not inherited.

What You Can Do with PayPal in MeDo

By integrating PayPal into your MeDo app, you can:

  • Create apps that accept one-time payments through PayPal checkout, paid with a PayPal balance or a credit or debit card
  • Build e-commerce websites, digital product pages, or service pages with checkout functionality
  • Receive payments directly in your own PayPal account — MeDo never holds your funds

Example query:

“Create an online art store where users can purchase digital paintings via PayPal.”

Note: MeDo currently supports only one-time payments with PayPal. Subscription-based or recurring billing is not supported. Full refunds are issued by the app administrator from inside the generated app; this is an admin-only action.

How to Integrate PayPal into Your App

You can integrate PayPal in two ways:

Option 1 — Through Chat

Simply tell our MeDo agent what you need.

For example:

“I want to accept payments with PayPal in my app.”

The agent will automatically include PayPal in your generated application.

Option 2 — Using the Plugin List

You can also use the @ symbol to open the plugin list, then select PayPal from the list to insert it into the input box.

Note: If you do not mention PayPal, MeDo uses Stripe as the default payment provider. Each app uses one payment provider, so ask for PayPal explicitly when you want it.

Once the model generates an app that includes PayPal, you’ll need to configure your PayPal credentials to enable payment functionality.

How to Configure Your PayPal Credentials

Use the configuration button shown for PayPal, or open the PayPal card in the app’s Skill panel.

Here’s how to set it up:

  1. Open PayPal’s configuration to open the configuration dialog.
  2. Open the PayPal Developer Dashboard and log in with your PayPal Business account.
  3. Go to Apps & Credentials and choose Sandbox or Live (see the Sandbox vs Live section below).
  4. Click Create App and give it any name. PayPal does not allow the word “paypal” in the app name.
  5. Copy the app’s Client ID and Secret.
  6. Return to MeDo’s dialog, paste both values into the corresponding fields, and submit the form.

MeDo verifies new or changed credentials with PayPal before saving them. If verification fails, check that both values come from the same PayPal app and submit again. After saving, sign in to the generated app and open checkout. The app obtains a runtime token before enabling payment and shows Sandbox or Live beside checkout. If initialization fails, check the configuration and reload checkout. Save and replace credentials only in the Skill configuration form; never paste your Secret into chat.

Sandbox vs Live

PayPal provides two separate environments. The generated app detects the environment from your credentials when checkout initializes; you do not enter a separate environment setting.

SandboxLive
PurposeTest mode — no real money movesReal payments, settled to your PayPal account
How to payUse a Sandbox buyer test account from the Developer Dashboard (Testing Tools → Sandbox accounts)Visitors pay with their own PayPal balance or card
RequirementsA PayPal Developer Dashboard loginA PayPal Business account that has completed PayPal’s account verification for receiving payments
When to useWhile building and testing your appWhen your app is ready to sell to real visitors

Switching from Sandbox to Live: create a Live app under Apps & Credentials → Live, then save its Client ID and Secret together in the same Skill configuration form. Reload checkout and confirm that it shows Live. Resolve pending payments and arrange any refunds for old orders before changing the merchant account or environment.

Note: If a published app still uses Sandbox credentials, visitors cannot pay for real. Switch to Live credentials before you start selling.

If a Payment Is Still Processing

If payment confirmation times out or remains pending, use Check payment status or open the same order in your order history. Do not place another order until the first payment is confirmed. An administrator can check a pending full refund again from the same order; pending does not mean refunded. There is no automatic background reconciliation after the buyer leaves, so unresolved transactions need to be checked against the merchant’s PayPal records.

After Setup

Once your PayPal configuration is complete:

  • All payments from your app are settled in your PayPal account.
  • You can view transactions and payment details in your PayPal account.
  • Full refunds are issued by the app administrator through the admin refund action inside your app.
  • PayPal charges its own transaction fees according to PayPal’s terms.

With PayPal integrated, your MeDo apps are ready to accept payments from PayPal users around the world!