Stripe Checkout for VirtueMart is a payment plugin for VirtueMart. When the shopper confirms an order, the plugin sends them to a payment page that Stripe hosts. The shopper pays there and comes back to your shop. Card numbers and other payment details are entered on Stripe's page, so they never reach your server. This guide covers version 4.0: installing and updating the plugin, every setting, and how the plugin keeps your orders in step with Stripe.
Requirements
- Joomla 3.10, 4 or 5.
- VirtueMart 3.2 or later.
- PHP 7.4 or later, with the cURL, JSON and mbstring extensions.
- A server whose cURL connects with TLS 1.2 or later. The payment method settings show an error when it does not.
- HTTPS with TLS 1.2 or later on your live site. The plugin's webhook address is an HTTPS address, and the plugin sends product images to Stripe only from HTTPS addresses.
- A Stripe account.
The installer checks the Joomla, VirtueMart and PHP versions and the three PHP extensions before it changes anything. If one of them is missing or too old, it lists the problems and stops. Nothing on the site changes, so a version that is already installed keeps working.
Installation
Download the latest installation package from the download page of your VirtuePlanet account. Install it with Joomla's extension installer: System > Install > Extensions on Joomla 4 and 5, or Extensions > Manage > Install on Joomla 3.
Joomla installs a new plugin disabled. After the first installation, open System > Manage > Plugins (Joomla 4 and 5) or Extensions > Plugins (Joomla 3), search for Stripe Checkout and enable Stripe Checkout for VirtueMart. Until you do, the payment method settings show the message "The Stripe Checkout for VirtueMart plugin is disabled, so this payment method does not work." Updates keep the plugin enabled.
To update, install the new package over the installed version. Do not uninstall first.
Updating from version 3
Install 4.0 over version 3. You do not need to uninstall it, and your payment methods keep their settings. The update does the following:
- It removes the old Stripe library and the files that 4.0 no longer uses.
- It updates the plugin's database tables.
- It updates the settings of every Stripe Checkout payment method. Methods that used the legacy Stripe Checkout Mode now use Stripe's payment page like the others. Payment method types that Stripe has retired (giropay and Sofort) or that Checkout does not offer are removed from Accepted Payment Method Types. A version 3 method with giropay or Sofort saved could no longer start a payment, because Stripe refuses those types. Remember Customers set to Yes becomes Registered users.
- It deletes the guest customers that version 3 saved. Version 3 matched guests by e-mail address, so a guest could see another person's saved cards. Version 4.0 remembers logged-in users only. The customers stay in your Stripe account.
The update shows a message for each published payment method that has no webhook signing secret in its saved mode, with a link to the method. See Webhook.
Your existing webhook keeps working, whatever its API version. A webhook that version 3 created does not send two events that 4.0 uses, checkout.session.expired and payment_intent.canceled. Without them, an order whose Stripe page expires unpaid stays pending, and an order whose authorisation expires or is cancelled in the Stripe Dashboard stays at the authorised status. Click Rebuild Webhook to add them. It also moves the webhook to the plugin's API version. Until you do, the webhook status in the payment method settings shows 2 missing.
Stripe payment pages that shoppers opened before the update can still be paid, and the payment updates the order as usual. The cancel link on such a page no longer cancels the order, because it carries no cancel token. The shopper sees "The payment was not completed." and the order stays pending. When the page expires after 24 hours, a rebuilt webhook sets the order to Failed Transactions.
Version 3 debug logs in Joomla's log folder (stripecheckout.<method id>.log.php) can hold complete Stripe payment objects and shoppers' e-mail addresses. The update leaves them in place. Delete them when you no longer need them. Version 4.0 does not write payment objects to the log.
These version 3 settings no longer exist: Stripe Checkout Mode, Shop Name, Shop Logo, Payment Button Label, Show Product Count, Validate Zip Code, Collect Billing Address, Allow Remember Me and Send Email Receipt. They belonged to the legacy mode, which used Stripe's old pop-up form. Stripe's payment page has its own options for some of these in your Stripe Dashboard: your logo and colours on the branding settings page (https://dashboard.stripe.com/settings/branding), and e-mail receipts under Settings > Business > Customer emails.
Uninstallation
Uninstall the plugin like any other Joomla extension, from System > Manage > Extensions (Joomla 4 and 5) or Extensions > Manage > Manage (Joomla 3). Select Stripe Checkout for VirtueMart and click Uninstall. This removes the plugin's files and its table of saved Stripe customers. VirtueMart keeps the payment records of past orders.
Configuration
Configure Stripe Checkout in VirtueMart's payment methods, like any other payment method. Open VirtueMart > Payment Methods and click New. On the Payment Method Information tab, enter a Payment Name, set Published to Yes, and select Stripe Checkout for VirtueMart as the Payment Method. Click Save. When the page reloads, open the Configuration tab and fill in the settings below.
A new payment method starts in Production mode, so the live key fields are required. To test first, set Payment Mode to Test before you save the keys.

Live Update
Download Key
Add your VirtuePlanet download key to receive live updates. The plugin contacts VirtuePlanet's server to validate the key.
Required Parameters
Method
Direct Capture takes the payment when the shopper pays. Authorise and Capture Later only authorises it: the money is held on the shopper's account, and you capture it later from the order's details in VirtueMart. See Capturing and refunding payments.
Not every payment method can be captured later. With Authorise and Capture Later, Checkout leaves those methods out. The methods that support it are listed under Payment methods.
Payment Mode
Select Test to try the plugin with Stripe's test keys, or Production to take real payments. In Test mode no real money moves and real cards do not work. The settings page shows a warning, and the shop shows a Test Mode badge next to the payment method's name.
Display Test Card Numbers
Shown in Test mode only. If yes, the payment method in the cart lists a few of Stripe's test card numbers, so testers know what to enter on Stripe's page.
Stripe - Test Publishable Key and Stripe - Publishable Key
Your Stripe publishable key, which starts with pk_test_ in Test mode and pk_live_ in Production mode. Find both keys in your Stripe Dashboard under Developers > API keys. The plugin also uses the publishable key to keep test customers and live customers apart.
Stripe - Test Secret or Restricted Key and Stripe - Secret or Restricted Key
Your Stripe secret key (sk_test_ or sk_live_) or a restricted key (rk_test_ or rk_live_). A restricted key is safer. See Restricted API keys.
When you save, the plugin checks the keys and shows a warning if one of them looks wrong: a key that is not a Stripe key, a publishable key in a secret key field or the other way round, a key from the other mode, or a test key paired with a live key.
Restricted API keys
A secret key can do anything in your Stripe account. A restricted key can do only what you allow, so it limits the damage if the key ever leaks. The plugin works with either.
To create a restricted key:
- In your Stripe Dashboard, open Developers > API keys and click Create restricted key.
- Enter a name in the Key name field, for example the name of your shop.
- Give the key the permissions in the table below. Leave every other permission at None.
- Click Create key and complete Stripe's verification.
- Copy the key and paste it into Stripe - Test Secret or Restricted Key or Stripe - Secret or Restricted Key. Stripe shows a live key only once, so keep a copy in a safe place.
- Save the payment method.
Create one key in test mode and another in live mode. The same table is shown under the key fields in the payment method settings.
| Resource | Permission | Used for |
|---|---|---|
| Checkout Sessions | Write | Creating the Stripe payment page. |
| Payment Intents | Write | Reading payments, and capturing or cancelling authorised payments. |
| Charges and Refunds | Write | Reading charges and making refunds. |
| Customers | Write | Creating the Stripe customer for an order and reusing it. |
| Customer Portal | Write | The payment portal link. Needed only when the link is shown. |
| Webhook Endpoints, Event Destinations | Write | The Create Webhook and Rebuild Webhook buttons and the webhook status. Without it, set up the webhook by hand. |
| Events | Read | Reading webhook events. Needed only when the webhook signing secret is empty. |
| Payment Method Configurations | Read | Payment methods managed in the Stripe Dashboard. |
If a permission is missing, Stripe refuses the request. The plugin logs the error and names the permission to add, for example "Stripe refused the request because the restricted key lacks a permission. Add Checkout Sessions: Write to the key in the Stripe Dashboard, under Developers > API keys." Shoppers see a general message instead: "The payment could not be started. Please try again later or choose another payment method."

Check key
The Check key button below the table tests the key that is saved for the saved Payment Mode, so save the payment method after you change a key or the mode. The check makes one read-only request for each row and adds a Check column to the table:
- OK: the key has the permission.
- Missing: add the permission to the key.
- Missing, not needed with these settings: the permission is missing, but your current settings do not use it. Events: Read is not needed when a webhook signing secret is saved, and Customer Portal: Write is not needed when Show Customer Portal Link is No.
Stripe cannot confirm write access without changing something in your account, so a read-only check passes for a key that has Read where Write is needed. Make sure each permission has the level shown in the table. For a secret key, the check reports that the key has every permission.
Webhook
Stripe sends payment updates to your shop through a webhook. The plugin also confirms an order when the shopper returns from Stripe, so a shop without a webhook still takes payments. Some updates reach the order only through the webhook:
- payments that Stripe confirms later, such as SEPA Direct Debit and other bank debits
- payments where the shopper closes the browser before returning to your shop
- refunds, partial refunds and captures made in the Stripe Dashboard
- disputes
- authorisations that expire, and payment pages that expire unpaid
Set up a webhook for each payment method in each mode you use.

The webhook box in the payment method settings shows the Endpoint URL and the Events to Send. The endpoint URL has this form, with your site's address and the payment method's ID:
https://www.your-site.com/index.php?option=com_virtuemart&view=vmplg&task=pluginNotification&pm=1
The webhook needs these 12 events:
charge.failedcharge.pendingcharge.refundedcharge.succeededcharge.capturedcharge.dispute.funds_withdrawncharge.dispute.funds_reinstatedcheckout.session.completedcheckout.session.async_payment_succeededcheckout.session.async_payment_failedcheckout.session.expiredpayment_intent.canceled
Create Webhook and Rebuild Webhook
Save a valid secret or restricted key for the selected Payment Mode first. The webhook box then shows Create Webhook, or Rebuild Webhook once a signing secret is saved. Both buttons do the same:
- They create a webhook endpoint for the endpoint URL in your Stripe account, at the plugin's API version, with the 12 events above.
- They save the endpoint's signing secret in Webhook Signing Secret or Test Webhook Signing Secret.
- They disable every other enabled endpoint in your Stripe account that uses the same URL, so each event arrives once.
With a restricted key, the buttons need Webhook Endpoints, Event Destinations: Write. Stripe refuses localhost and other addresses that are not public, so the buttons do not work on a local test site.
Webhook endpoints in Stripe
Below the button, the plugin reads your webhook endpoints from Stripe and lists each one that uses the endpoint URL, with its API version, Status and Events. All 12 events means the endpoint sends everything the plugin needs, and 2 missing (for example) means it does not. A notice explains what to do when something needs attention:
- Two or more enabled endpoints use the URL. Each event then arrives more than once, and the plugin can check only one signing secret. Click Rebuild Webhook to keep one.
- Every endpoint for the URL is disabled, so Stripe sends no events.
- An endpoint does not send some of the events. Click Rebuild Webhook, or add the events to the endpoint in the Stripe Dashboard.
- An endpoint uses an older API version or your account's default version. It keeps working, and Rebuild Webhook moves it to the plugin's version.
- No endpoint uses the URL. Orders are still confirmed when the shopper returns, and Create Webhook creates one. If a signing secret is saved anyway, it may belong to an endpoint that was deleted, to another Stripe account or to the Stripe CLI.
With a restricted key that cannot read webhook endpoints, the box says so and shows the API version of the webhook the plugin built last. Add Webhook Endpoints, Event Destinations: Read to the key to see the endpoints.
Setting up the webhook by hand
Use this if your restricted key has no webhook permission, or if you prefer to do it yourself.
- In your Stripe Dashboard, open the Webhooks tab in Workbench (https://dashboard.stripe.com/workbench/webhooks) and click Create an event destination.
- Select Your account.
- Choose Snapshot as the payload format. The plugin does not read thin events. For the API version, the latest version is best, but any version works.
- Select the 12 events listed above, then click Continue.
- Select Webhook endpoint as the destination type and click Continue.
- Paste the Endpoint URL from the payment method settings and create the destination.
- On the endpoint's page, click Reveal secret under the signing secret, which starts with
whsec_. - Paste it into Webhook Signing Secret (Production mode) or Test Webhook Signing Secret (Test mode) and save the payment method.
Webhook Signing Secret and Test Webhook Signing Secret
The signing secret of the webhook endpoint for each mode. The plugin uses it to check that each event really comes from Stripe. A value that does not start with whsec_ shows an error when you save.
Without a signing secret, the plugin fetches each event from Stripe by its ID before it acts on it. The key then needs Events: Read. A signing secret is the better choice.
Webhooks on older API versions
Stripe fixes an endpoint's API version when the endpoint is created. The plugin reads only the event's type and IDs, and fetches the payment details from Stripe at its own API version, so endpoints on older versions keep working. You do not need to rebuild because of the API version. You do need the events: an endpoint without checkout.session.expired and payment_intent.canceled, such as one created by version 3, never updates orders whose payment page or authorisation expires. Rebuild Webhook adds them.
Layout
Logos (optional)
Images to show next to the payment method name in the cart. Put the images in images/virtuemart/payment/ first.
Stripe Checkout Options

These settings are optional. They control what the shopper sees on Stripe's page and how Stripe handles the payment.
Manage Payment Methods in Stripe Account
If yes, Stripe chooses the payment methods for each payment from your Stripe Dashboard (Settings > Payments > Payment methods), based on the order currency and the shopper's location. Stripe recommends this. You switch payment methods on and off in the Dashboard, and new methods need no change in the plugin.
If no, Checkout offers the methods selected in Accepted Payment Method Types.
Payment Method Configuration ID (optional)
Shown when Manage Payment Methods in Stripe Account is Yes. Stripe can hold several sets of payment methods, called payment method configurations, so one VirtueMart payment method can offer a different set from another. To use one, open Settings > Payments > Payment methods in your Stripe Dashboard, select the configuration and copy its ID, which starts with pmc_. Leave the field empty to use your account's default configuration.
An ID that does not start with pmc_, or that contains anything other than letters and digits after it, shows a warning when you save and is ignored. Checkout then uses the default configuration.
Accepted Payment Method Types
Shown when Manage Payment Methods in Stripe Account is No. Select the payment methods Checkout can offer. The default is Cards, which includes Apple Pay and Google Pay.
In this mode the plugin's list decides which methods Checkout can offer. If you want to switch methods on and off in your Stripe Dashboard instead, set Manage Payment Methods in Stripe Account to Yes.
For each payment, Stripe offers the selected methods that it can accept: the method must be activated for your account and available in the order currency, and with Authorise and Capture Later it must support manual capture. Stripe leaves out the other methods without an error. When the plugin's own rules leave no method at all, for example with Authorise and Capture Later and only methods that cannot be captured later, the plugin offers Cards instead. If Stripe can accept none of the methods sent, the payment cannot start: the shopper sees "The payment could not be started. Please try again later or choose another payment method." and the error is logged.
Some methods have extra rules, handled by the plugin:
- Link works together with cards. If you select Link without Cards, the plugin adds Cards.
- Bank transfers need a Stripe customer, which the plugin always creates. They are offered only in US dollars, euros, pounds sterling, Japanese yen and Mexican pesos. For payments in euros, Stripe also needs the shopper's billing country, or else your shop's country, to be Germany, France, Ireland or the Netherlands. Otherwise bank transfers are left out of that payment.
- Afterpay / Clearpay needs a shipping address. Stripe's page asks for one, limited to the countries your shop ships to.
- With Cards selected, Link can add its own entries to Stripe's page, for example Bank and Klarna. The plugin's list does not control these.
The Stripe payment method support link under the field opens Stripe's list of the countries and currencies each method supports. The full list of methods is under Payment methods.
Prefill Customer Email Address
If yes, the shopper's e-mail address from the order is filled in on Stripe's page.
Remember Customers
Registered users (the default) gives each logged-in shopper one Stripe customer, which the plugin reuses on their next orders. Their payments, and any payment methods saved with Future Usage, stay together on that customer in Stripe and in the customer portal. Guests get a new Stripe customer for each order. No gives every order a new Stripe customer.
A shopper's saved Stripe customer depends only on their own Joomla user account, never on an e-mail address.
Show Customer Portal Link
If yes, logged-in shoppers who have a saved Stripe customer see a Manage Payment Portal link with the payment method in the cart. It opens Stripe's customer portal, where they can manage the payment methods they saved. Guests never see the link. It needs Remember Customers set to Registered users.
Before you switch it on, set up the customer portal in your Stripe Dashboard (Settings > Billing > Customer portal) and save the settings, in test mode and in live mode. To save payment methods for the portal, set Future Usage to on_session or off_session.
Future Usage
Whether Stripe saves the shopper's payment method for later payments.
dynamic(the default): the plugin does not ask Stripe to save the payment method.on_session: the payment method is saved for payments the shopper starts while they are present, such as their next checkout.off_session: the payment method is saved for payments the shopper may not be present for.
A saved payment method is attached to the shopper's Stripe customer. The shopper can see and remove it in the customer portal, and you can see it on the customer in the Stripe Dashboard. Stripe does not offer a payment method saved this way again on its payment page for later orders.
Not every payment method can be saved. With on_session or off_session, Stripe leaves out the methods that cannot, and a payment where none of the selected methods can be saved fails to start. If that happens, use a separate VirtueMart payment method with its own settings for those methods.
Show Product Information
If yes, Stripe's page shows each product's name, its variant and the quantity.
Show First Product Image
If yes, Stripe's page shows the image of the first product in the cart. Stripe loads the image from your site, and the plugin sends only HTTPS image addresses, so your site must serve the image over HTTPS.
Pass Order Info to Payment Intent
If yes, the order number is added to the payment's description in Stripe, which you see in the Stripe Dashboard, followed by the product information when Show Product Information is Yes. The description is cut to Stripe's limit of 1,000 characters. The order ID, number, total, tax, discount and currency are always added to the payment's metadata.
Automatic Refund
If yes, setting a paid order to the Refunded Transactions or Failed Transactions status returns the money in Stripe. The plugin reads the payment from Stripe first. It refunds what is still captured, and it cancels an authorisation that was never captured.
Refunded Transactions also returns a payment that the shop never recorded, for example when the shopper paid but did not return and no webhook is set up.
Currencies

Payment Currency
Select the payment currency for this payment method. Stripe charges the shopper in this currency. Stripe's page may also offer shoppers their local currency, if adaptive pricing is on in your Stripe account.
Order Status
Select the VirtueMart order status for each state of a Stripe payment.
Pending Transactions
The status of a new order before Stripe confirms the payment, and of a paid order while a dispute holds the money. Default: Pending.
Authorised Transactions
The status of an order whose payment is authorised but not captured yet. Default: Confirmed by Shopper.
Successful Transactions
The status of a paid order. Default: Confirmed.
Refunded Transactions
The status of an order that was refunded in full. Default: Refunded.
Partially Refunded Transactions
The status of an order that was partly refunded. Default: Refunded.
Failed Transactions
The status of an order whose payment failed, was cancelled or expired. Default: Cancelled.
Restrictions

Publish Start
Select a date to start offering this payment method. Leave it empty to offer it straight away.
Publish End
Select a date to stop offering this payment method. Leave it empty to keep offering it.
Countries, Minimum Amount and Maximum Amount
On VirtueMart 3.2 to 3.7, these settings are here too. Countries limits the payment method to the selected countries; with no country selected, it is offered for all of them. Minimum Amount and Maximum Amount set the order amounts for which it is offered.
On VirtueMart 3.8 and later, the plugin does not show them. Use VirtueMart's own restrictions on the Payment Method Information tab instead: Minimum amount, Maximum amount, Shopper Group, Categories, Blocking categories, Countries, Blocking countries, Shipments, Coupon, Only for coupon code and Progressive.

Fees & Discounts
Fee per Transaction
A flat amount added to each order paid with this method. Enter a negative amount for a discount.
Percent of the Total Product Amount
A percentage of the product total added to the order. Shipping costs are not included.
Tax
The tax rule applied to the fee.
Payment methods
Version 4.0 offers 55 payment methods. Which of them a shopper sees depends on your Stripe account, the country of your business, the order currency and the shopper's location.
There are two ways to choose them:
- In your Stripe Dashboard (recommended): set Manage Payment Methods in Stripe Account to Yes and switch methods on and off under Settings > Payments > Payment methods. Optionally, pick a payment method configuration with Payment Method Configuration ID (optional).
- In the plugin: set it to No and select the methods in Accepted Payment Method Types.
The methods: ACH Direct Debit, Affirm, Afterpay / Clearpay, Alipay, Alma, Amazon Pay, Bacs Direct Debit, Bancontact, Bank transfers, BECS Direct Debit (Australia), Billie, Bizum, BLIK, Boleto, Cards (with Apple Pay and Google Pay), Cash App Pay, EPS, FPX, GrabPay, iDEAL, Kakao Pay, Klarna, Konbini, Korean cards, Link, MB WAY, MobilePay, Multibanco, Naver Pay, NZ BECS Direct Debit, OXXO, Pay by Bank, PAYCO, PayNow, PayPal, PayPay, PayTo, Pix, Pre-authorized debit in Canada, PromptPay, Przelewy24, Revolut Pay, Samsung Pay, Satispay, Scalapay, SEPA Direct Debit, SeQura, Stablecoins (crypto), Sunbit, Swish, TWINT, UPI, WeChat Pay, Wero and Zip.
These 21 methods support Authorise and Capture Later: Affirm, Afterpay / Clearpay, Alma, Amazon Pay, Billie, Cards, Cash App Pay, Kakao Pay, Klarna, Korean cards, Link, MobilePay, Naver Pay, PAYCO, PayPal, Revolut Pay, Samsung Pay, Satispay, Scalapay, SeQura and Sunbit.
Stripe retired giropay and Sofort, so 4.0 no longer offers them. Version 3 also listed Interac, Capchase Pay, Kriya and Mondu, which Stripe Checkout does not offer.
How orders are updated
When the shopper pays
When the shopper confirms the order, VirtueMart creates it with the Pending Transactions status, and the plugin sends the shopper straight to Stripe's page. After paying, the shopper returns to your shop. The plugin asks Stripe for the payment's state and updates the order at once:
- A paid order moves to Successful Transactions.
- An authorised order moves to Authorised Transactions.
- A payment that Stripe has not confirmed yet, such as a bank debit, leaves the order pending, and the thank-you page shows: "Stripe has not confirmed your payment yet. Some payment methods, such as bank debits, take a few days. Your order will be updated when Stripe confirms the payment." The webhook updates the order when Stripe confirms or fails the payment.
The return page acts only for the shopper's own payment. Someone who opens the return link of another order sees a plain thank-you message, and nothing changes.
If the paid amount differs from the order total, the order keeps its status. The payment log in the order shows the amount paid and the amount expected, and the plugin log records an error.
When the order is not paid
- The back link on Stripe's page returns the shopper to the cart. The plugin closes the Stripe page and sets the order to Failed Transactions without e-mailing the shopper. If the shopper had already paid, for example in another tab, they see the thank-you page instead.
- Stripe closes an unpaid payment page after 24 hours. The webhook then sets the order to Failed Transactions without e-mailing the shopper. This needs the
checkout.session.expiredevent in the webhook. - If the shopper goes back from Stripe and confirms the order again, the plugin closes the earlier Stripe page, so only one of them can be paid.
- A bank debit that fails after checkout sets the order to Failed Transactions.
These changes apply only while the order is still pending. An order you have already moved on, for example to Shipped, keeps its status, and only the payment record changes.
When you cancel an unpaid order
When you set an order with an unpaid Stripe payment to Failed Transactions or Refunded Transactions, or to VirtueMart's Cancelled, Refunded or Denied status, the plugin closes the order's open Stripe page and marks the payment as failed. The payment log reads "The order was cancelled in the shop before payment. Its Stripe payment page was closed."
- If the shopper has already paid on the Stripe page and Stripe holds the money, the order is not cancelled. It keeps its paid or authorised status, and you see: "The shopper had already paid for this order in Stripe, so it was not cancelled and keeps its paid status. To cancel it, return the money first: set the order to Refunded, or cancel the authorisation in the payment details."
- If the shopper has completed the Stripe page but the money has not arrived yet, for example with a bank debit, the order is cancelled. If that payment succeeds later, the webhook reinstates the order.
- If the Stripe page cannot be closed, you see a warning. A payment made there reinstates the order.
- A refunded status works differently. With Automatic Refund set to Yes, the plugin first returns any payment the shop never recorded, then closes a page that is still open. The order is never kept at a paid status. With Automatic Refund set to No, a payment the shopper already made stays in Stripe, so refund it in the Stripe Dashboard.
A payment that arrives after the order was cancelled reinstates the order to Successful Transactions (or Authorised Transactions). The payment log reads "A payment arrived after the order was cancelled, so the order was reinstated.", and the plugin log records it as an error so you notice it.
Cancel unpaid orders, do not delete them
When you delete an order, VirtueMart deletes its payment record too, and the plugin can no longer close that order's Stripe page. The page stays payable until it expires after 24 hours, and a payment made there belongs to no order in your shop. Cancel unpaid orders instead, and delete them later if you need to.
Disputes
When a shopper disputes a payment and Stripe withdraws the money, the webhook moves the order back to Pending Transactions with the log entry "Dispute opened. Stripe withdrew the funds." While the dispute holds the money, no other payment event marks the order paid. If you win the dispute and Stripe returns the money, the order moves to Successful Transactions with "Dispute closed. Stripe returned the funds."
If you lose the dispute, the order stays at Pending Transactions. Set it to the status you want by hand.
If you cancel an order while its payment is disputed, the payment is marked as failed and no later payment event reinstates the order. If Stripe returns the money after the dispute, the order stays cancelled and the plugin log records an error. Refund the payment or reinstate the order by hand.
Capturing and refunding payments

Capturing an authorised payment
With Authorise and Capture Later, open the order in VirtueMart > Orders. The payment details show the authorised amount, a Capture Amount field with a Capture button, and Cancel Authorisation.
- Capture takes the amount you enter, up to the authorised amount. A smaller amount is a partial capture, and Stripe releases the rest. The order moves to Successful Transactions at once, so you do not need a webhook for this.
- If you capture after moving the order on, for example to Shipped, the order keeps its status and only the payment record changes.
- Cancel Authorisation releases the money and sets the order to Failed Transactions.
Capture a card payment within 7 days of the authorisation. Other payment methods have their own time limits, listed in Stripe's guide to placing a hold on a payment method (https://docs.stripe.com/payments/place-a-hold-on-a-payment-method). Stripe cancels an authorisation that is not captured in time, and the webhook then sets the order to Failed Transactions. This needs the payment_intent.canceled event in the webhook.
You can also capture in the Stripe Dashboard. The webhook then updates the order.
Refunds
With Automatic Refund set to Yes, set the order to Refunded Transactions (or Failed Transactions) and the plugin refunds the payment in Stripe. See Automatic Refund.
Refunds made in the Stripe Dashboard reach the order through the webhook. A full refund sets the order to Refunded Transactions, and a partial refund to Partially Refunded Transactions.
Troubleshooting
Debugging Log
To log what the plugin does, open the plugin in System > Manage > Plugins (Joomla 4 and 5) or Extensions > Plugins (Joomla 3) and set Debugging Log to Yes. Each payment method writes to its own file in Joomla's log folder, stripecheckout.<method id>.log.php. Errors from Stripe are always logged, even with the debugging log off. Set it back to No when you are done.
Messages you may see
- "Stripe Checkout needs PHP 7.4.0 or later. This site runs PHP 7.3, so the payment method is switched off until PHP is upgraded." (with your site's PHP version). Ask your host to upgrade PHP.
- "This server connects to Stripe with TLS 1.1. Stripe needs TLS 1.2 or later, so ask your host to update cURL and OpenSSL." This is about your server's connection to Stripe, not your site's certificate.
- "The PHP cURL extension is not enabled on this server." Ask your host to enable it.
- "Stripe Checkout payment method 3 has no webhook." (with the method's ID), after an installation or update. See Webhook.
- "The payment could not be started. Please try again later or choose another payment method." This is what shoppers see when Stripe refuses to create the payment page. The plugin log has the reason.
The Stripe page asks for the full billing address
Stripe decides which address fields its page asks for. Stripe accounts in India, for example, ask for the shopper's full billing address, while other accounts may ask only for the country.
Test cards
In Test mode, pay with Stripe's test card numbers, any future expiry date and any CVC. Real cards do not work. Stripe lists the test cards at https://docs.stripe.com/testing.