Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
Stripe Shell
Developers Dashboard
Agent toolkit
Stripe health alertsBuilding with LLMsStripe for Visual Studio CodeFile uploads
Security
Security
Extend Stripe
Stripe Apps
Stripe Connectors
    Overview
    Integrate a connector
    Commercetools
    Adobe Commerce
      Payments and tax connector for Adobe Commerce
        Installation
        Configuration
        Use subscriptions
        Use the admin panel
        Build a custom storefront
        Automate tax collection and reporting
        Version History
        Troubleshooting
      Standalone tax connector for Adobe Commerce
      Cookbooks
    Mirakl
    NetSuite
    Oracle Opera
    Cegid
    PrestaShop
    Salesforce
    SAP
    Shopware 6
    Stripe Tax for WooCommerce
    Stripe Tax for BigCommerce
    Partner connectors
    Build your own connector
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsStripe ConnectorsAdobe CommercePayments and tax connector for Adobe Commerce

Troubleshooting for Adobe Commerce

Learn how to troubleshoot the Stripe Connector for Adobe Commerce.

Copy page

Switching to developer mode

Enable the developer mode to make it easier to find errors.

Use this guide to troubleshoot the Stripe Connector for Adobe Commerce.

Installation issues

The most common issue during the installation process is getting the following error when using Composer:

Composer package not found: Could not find a matching version of package stripe/stripe-payments

If you encounter this problem, follow these steps:

  1. Order the module from the Adobe Marketplace.
  2. Delete the file under ~/.composer/auth.json in case you entered the wrong Adobe Commerce API keys.
  3. Run the Composer command again. You might have to enter a username and password. Make sure that you enter the Adobe Commerce API keys of the account that you used to place the order. You can get your authentication keys from Adobe Commerce.

Upgrades and caching issues

If you upgrade the module but for some reason don’t see the new changes, you can manually clear the Adobe Commerce cache by deleting a set of directories. The official Adobe Commerce documentation describes which directories to delete for Adobe Commerce 2.3 and Adobe Commerce 2.4.

After you delete these directories, run the following commands:

Command Line
php bin/magento setup:upgrade php bin/magento cache:flush

If you’re running in production mode, you have to compile and deploy your static assets:

Command Line
php bin/magento setup:di:compile php bin/magento setup:static-content:deploy

If you’re running Varnish, you must also restart Varnish after deleting the var/cache/* files. Some browsers also cache Adobe Commerce requests; if you still have caching issues, try a different browser.

No payment method at checkout

The payment method may not show at checkout for a few possible reasons:

  • You’re missing the Stripe PHP library or you’re using an old version. You can install this dependency by following step 3 of the installation instructions
  • You have another Stripe module installed that’s using an older version of the Stripe PHP library. Disable or uninstall any other active Stripe module.
  • You didn’t configure the Stripe API keys properly.
  • You limited the availability of the payment method to specific countries or currencies.

Apple Pay or Google Pay not appearing

If you configured the Payment Request button and it still doesn’t appear, try the following:

  • Make sure that you enabled Apple Pay and Google Pay in your payment methods settings.
  • For Apple Pay, use Safari on an iPhone running iOS 10 and above.
  • For Google Pay, use Chrome Desktop or Chrome Mobile with a logged in Google account.
  • Make sure that you have at least one card in your Wallet.
    • In iOS, you can add a card by going to Settings > Wallet > Apple Pay.
    • In Chrome, you can add a card by going to Settings > Autofill > Payment methods > Add new credit card.
  • Confirm that your iOS device supports Apple Pay.
  • Confirm that your Android device supports Google Pay.
  • Confirm that your domain is registered and verified.
  • If your website domain starts with www, make sure the domain is www.example.com and not example.com.
  • You must serve your website over HTTPS using a valid TLS 1.2 certificate—check this from your browser or from SSL Labs.
  • Make sure that your HTTPS page doesn’t load any images, CSS, or JavaScript insecurely. You can check this by clicking the padlock on your browser URL bar.
  • Make sure that you enabled the Wallet button in the module’s configuration section.
  • Make sure that you configured a default fallback country (Stores > Configuration > General > Country Options > Default Country).
  • Make sure that you’re not using an older Stripe API key. Apple Pay requires a modern API key, which starts with pk_live_ or pk_test_. You can roll your publishable key in the Developers section of the Dashboard.
  • If you’re using a OneStepCheckout module, you may additionally need to configure the OSC module to refresh the payment form when guest customers submit their billing address. In most cases, this isn’t necessary.

If Apple Pay appears at checkout, but it doesn’t appear on the product pages, it may be because of additional reasons:

  • You disabled guest checkouts from the Adobe Commerce admin.
  • Your website is serving your product pages without a valid TLS 1.2 certificate.
  • You overwrote the Add to Cart button template in your theme. Try adding some text to app/code/StripeIntegration/Payments/view/frontend/templates/express/product_button.phtml. If your product pages remain unchanged, customize your theme and integrate the two templates together.
  • JavaScript errors occur when Stripe.js is initializing. Check your browser console for any JavaScript errors related to Stripe.js.

Pending order stuck

When creating an order, the initial status is Pending Payment, which indicates that the authorization of the payment by the customer’s bank is still pending. For all redirect-based payment methods, when an authorization occurs, Stripe notifies your website using webhooks. If your orders don’t change from Pending Payment to Processing, it might indicate that webhooks are missing or incorrect.

Go to your webhooks settings to check if a webhook endpoint with your store URL exists. If not, you can try to manually create it by running the following command from your Magento root directory:

Command Line
bin/magento stripe:webhooks:configure

If the webhook endpoint already exists, check the Error Rate to identify the failing webhooks. You can click on the webhook endpoint to see the error messages. To get assistance on webhook issues that aren’t due to incorrect server configuration, contact Stripe Support and share details about the errors you encounter.

After fixing the webhook issue, you need to resend the charge.succeeded events that weren’t delivered correctly to your website. The module provides three commands to resend a single event, a range of events, or events within a date range:

bin/magento stripe:webhooks:process-event [-f|--force] <event_id> bin/magento stripe:webhooks:process-events-range <from_event_id> <to_event_id> bin/magento stripe:webhooks:process-events-date-range <from_date> [<to_date>]

Note

You can set a full date and time (2021-12-21 11:22:33+0200) or use any English textual datetime description (last Monday). This function uses your Magento default timezone unless specified otherwise.

See strtotime for all the supported date formats.

You can get a list of all failed charge.succeeded events in the Developers section of your Stripe Dashboard and decide which ones to resend using one of the commands above.

Error logging and server-side errors (HTTP 500)

Adobe Commerce logs any errors and exceptions it encounters during application runtime in the var/log directory. You can find these errors in the following two files:

var/log/system.log var/log/exception.log

If you have SSH access, you can filter the error messages with the following command:

Command Line
grep -i Stripe var/log/system.log

You can display errors live in the console as they occur (or when you refresh a given page). To monitor errors, run the following command to watch the error log:

Command Line
tail -f var/log/*

If you don’t have shell access, you can download this file and search for Stripe errors with a text editor.

Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc