Skip to content
Gaurav TiwariDocs

Take Payments with PayPal (Stackless)

Updated November 19, 2026

FluentCart’s own PayPal is fine until you want your own REST app, Pay Later, or to authorize first and capture when you ship. PayPal (Stackless), added by Stackless for FluentCart, is PayPal with your own app: Smart Buttons with Pay Later at checkout, a choice to capture now or later, and saved PayPal accounts that renew subscriptions through FluentCart’s own billing, without FluentCart Pro.

It sits in FluentCart’s Payments list with a Stackless label, next to FluentCart’s PayPal, shows to buyers as PayPal at checkout, loads its own copy of PayPal’s script, and never takes over FluentCart’s PayPal webhook.

Turn It On

  1. Go to FluentCart → Stackless and switch on Payment Gateways on the Dashboard. The switch saves at once.
  2. Open Settings on the Payment Gateways card, tick PayPal (Stackless) under Gateways to add to FluentCart and click Save changes. Clearing it later hides it from checkout and keeps its settings.
  3. Open FluentCart → Settings → Payments and choose Manage on PayPal (Stackless).

Connect Your PayPal App

PayPal (Stackless) has a Live credentials tab and a Sandbox credentials tab. For the mode you are setting up:

  1. Click Get live credentials or Get sandbox credentials. PayPal’s developer dashboard opens in a new tab.
  2. Open your REST app, or create one, and copy its Client ID and Secret into the matching fields.
  3. For subscriptions, turn on Vault in the app’s features.
  4. Save. PayPal (Stackless) checks the credentials with PayPal and says PayPal connected.
PayPal (Stackless) settings in FluentCart with Live and Sandbox credential tabs, client ID, secret, webhook ID, payment action and Pay Later

Which app checkout uses follows FluentCart’s store mode: test orders use the sandbox app, live orders the live one. The secret is stored encrypted. To keep credentials in wp-config.php instead:

define('GTFC_PAYPAL_LIVE_CLIENT_ID', '...');
define('GTFC_PAYPAL_LIVE_SECRET', '...');
define('GTFC_PAYPAL_LIVE_WEBHOOK_ID', '...');
define('GTFC_PAYPAL_TEST_CLIENT_ID', '...');
define('GTFC_PAYPAL_TEST_SECRET', '...');
define('GTFC_PAYPAL_TEST_WEBHOOK_ID', '...');

The Webhook Sets Itself Up

On a site reachable over public HTTPS, saving the credentials creates the webhook in your PayPal app and fills in its ID. Elsewhere, add the webhook by hand with the URL and events the settings list, and paste the ID PayPal shows into Webhook ID:

https://your-site.com/?fluent-cart=fct_payment_listener_ipn&method=gtfc_paypal

PayPal verifies every delivery, and each event is applied once. A payment for a different amount or currency is held unpaid for you to check, and a paid order is never captured twice. Use a separate REST app for PayPal (Stackless), or keep FluentCart’s own PayPal webhook off this app, so the two don’t both receive the same events.

Checkout Settings

SettingWhat it does
Payment actionCapture the payment right away (the default), or authorize only and capture when the order moves to Processing or Completed. Canceling an authorized order releases the hold. Subscriptions always capture.
Pay LaterOffers Pay Later and shows its message under the buttons. Pay Later is not offered on subscription checkouts.
Button color, shape and labelGold, blue, silver, white or black; rectangle, pill or sharp; and the button’s wording.
Store name on PayPalThe name buyers see in PayPal. It defaults to the site title.
Invoice ID prefixSet a different prefix on each store that shares one PayPal account, so order numbers never collide.

The buttons appear in FluentCart’s checkout, including payment links for an existing order. Clicking one places the order first, so a missing field stops the buyer before PayPal opens.

Subscriptions and Renewals

PayPal (Stackless) uses FluentCart’s store-managed billing, not PayPal billing plans. Turn on Store-managed renewals with Automatic charge in FluentCart’s subscription settings:

  • The first payment saves the buyer’s PayPal account. A free trial saves it without charging.
  • On each renewal date FluentCart asks PayPal (Stackless) to charge the saved account. FluentCart Pro is not needed.
  • Subscription checkouts show the PayPal button alone, because only PayPal accounts can be saved.
  • If the buyer removes your store in their PayPal account, the saved account is dropped and FluentCart sends its renewal invoice for a manual payment.

Refunds

  • Refund from the FluentCart order screen, and it goes back to PayPal.
  • Refunds made in PayPal come back into FluentCart.
  • An authorized payment that was never captured can’t be refunded. Cancel the order to release it.
  • Chargebacks and disputes are noted in the order log for you to handle in PayPal.

Good to Know

  • PayPal (Stackless) takes 24 currencies, PayPal’s own list.
  • Need a second PayPal account? Duplicate PayPal (Stackless). Each copy loads its own PayPal script, so both can sit on one checkout.
  • Multi-Currency Checkout knows the 24 currencies PayPal (Stackless) takes, so it is offered for them without extra setup. Routing you save still decides.
  • Payment failure emails in Extra Enhancements watch PayPal (Stackless) and its copies. Tick PayPal (Stackless) under Watch these payment methods.
  • On a staging or local copy of the store, renewals, captures, voids and refunds are refused, and the live webhook is not created.

Developers can change the PayPal order with the gtfc/paypal/order_args filter, style the buttons with gtfc/paypal/button_style, and listen to verified events with the gtfc/paypal/webhook action. See the hooks reference.

Share

Was this helpful?

Still stuck? Open a support ticket