User Tools

Site Tools


Sidebar

magento_2:stripe-payment

For more details see the way Stripe Payment extension works.

Guide for Stripe Payment for Magento 2

Improve your customers’ payment experience. Optimize the conversion rate by providing customers with a convenient and safe payment method.

  • All payment needs in one solution
  • Safe integration process with 3D Secure protection
  • Fluent automatic invoicing function
  • Convenient refund options and flexible management
  • Fully compliant with the PSD2 European legislation
The Stripe Payment extension for Magento 2 is fully compliant to the Revised Directive on Payment Services (PSD2) that strives to create a secure payment process. It went into full effect on September 14, 2019. Please, re-install or update the extension to a version 3.0.0 to get all benefits of Strong Customer Authentication and 3D Secure v2.

Set Configuration

To configure the extension, you’ll need your Stripe account.

To integrate the merchant's stripe account with a Magento store, please go to Stores → Configuration → Payment methods → Other Payment Methods → Stripe by Amasty.

If you have any troubles with installation, please visit our troubleshooting checklist.

Enable - set to Yes to activate the payment method.

Enable Apple Pay and Google Pay – set to 'Yes' to enable payments via Apple Pay and Google Pay.

When making a payment via Google Pay and Apple Pay, the addresses provided during the order placement will serve as both the billing and shipping addresses for the order. In the payment system's popup, there won't be any option available to choose a shipping address.

Title - specify the custom name of the Stripe payment to display on the checkout page.

New order status – you can select an order status after the payment is captured. There are 2 available order statuses: 'Processing' and 'Pending'.

Define the type of Payment Action:

  • Authorize - to check a card validation without charging until the order is invoiced and approved.
  • Authorize and Capture - to debit money immediately after order submission.

To get a Publishable Key and a Secret Key, please navigate to the Stripe App Marketplace, then click Install the Amasty Stripe for Magento 2 (or just open this direct link https://marketplace.stripe.com/apps/amasty-payments-for-magento-2).

Since January 2024, Stripe requires plugins to leverage Stripe Apps. All new and existing plugins must use a Stripe App to authenticate users for their service using OAuth 2.0 or a restricted API key.
  1. Click Install app to proceed with the new authentication method;
  2. Select the Stripe account where you want to install the app;
  3. Review and approve the app permissions, install the app (it is also available to install the app in the test mode);
  4. After you install the app, store the keys in a safe place where you won’t lose them. To help yourself remember where you stored it, you can leave a note on the key in the Dashboard.
  5. To get new security keys after installation, navigate to the application settings page in test mode or live mode and click View API keys.
  6. Copy Publishable key and Restricted (Secret) key;
  7. Paste it into the extension’s backend settings.

Save Customer Cards – set to 'Ask the customer' to save customers' cards details on Stripe's servers so that they don't have to enter them when purchasing again.

Display Stripe Logo Next to the Method Title – set to 'Yes' to display Stripe Badge. It helps to increase trust and make your customers feel more secure.

Payment from Applicable Countries - accept payments made via Stripe from All Allowed Countries or from Specific Countries.

Payment from Specific Countries - select the countries for which the Stripe payment method will be allowed.

Make 3D Secure Authentification Mandatory for All Cards That Support It – set to 'Yes' to surely prevent malicious actors from stealing any sensitive information.

Debug Mode - enable this option if you want to track payment processes.

Stripe Email Receipts - set to 'Yes' to let Stripe send email receipts for successful payments and refunds. It works only in Live mode.

Sort Order - specify the order according to which this payment method will be placed.

To test the module, see this information.

Partial Invoicing

If a customer drops an order and there are not enough goods to complete it, you can use partial invoicing. In such a case you invoice fewer goods than ordered and meet customer's demand despite the low stock. When the goods become available, you complete the order.

To divide an invoice go to Sales - Orders and pick the order you want to invoice partially.

Than pick Invoice in the top menu and go to the Items to Invoice tab.

Set the number of items for the invoice and press Update Qty's button.

Submit the invoice by pressing Submit Invoice button at the bottom of the page.

Refunds and Partial refunds support

With the Stripe Payment extension, it is possible to make a full or partial refund of the order paid via Stripe payment. To see the detailed information about the refunds made, go to Sales → Credit Memos.

On a handy grid you can see the Credit Memo, dates the refund was Created, the Order and its Date, Bill-to Name, active Status and the Refunded sum.

You can easily find the necessary refund with the Search by keyword option or using Filters.

To see the details about each refund, click View in the Action column.

Admin can refund orders online from the grid.
Also it is possible to create orders and pay for them via Stripe from the admin panel. Go to Sales → Orders → Create New Order. After adding the products, choose the payment method.

Show Stripe Payment on the Checkout Page

The customers will see the same formatting as they see on the card. The card type will be detected automatically.

Let customers choose the necessary card in one click instead of filling in a full checkout form.

To speed up the whole shopping process, see our One Step Checkout extension.

Find out how to install the Stripe Payment extension via Composer.

Rate the user guide
 stars  from 3 votes (Details)
magento_2/stripe-payment.txt · Last modified: 2024/07/04 11:31 by avronskaya