Download and install the module
You can see our demo of an example Magento 2 storefront using the Stripe module, along with the Magento 2 Admin Panel, which demonstrates the module’s configuration for payment methods and card payments. This demo includes examples of Apple Pay, Google Pay, orders, invoices, refunds, and mail orders and telephone orders (MOTO).
Enabling fraud prevention with Stripe Radar
Radar detects and prevents fraud in real-time, based on thousands of signals about each incoming payment. If Radar detects a high-risk payment, it may be placed under review with an Elevated risk status. If you want to automatically decline charges, you can create a custom rule for Radar directly in the Stripe Dashboard.
When you enable Radar, any orders that go into manual review are automatically placed on hold in Magento. You can inspect these orders before fulfilling any of them. For example, you can check the address verification results in the Magento Admin Panel:
If you think that an order isn’t fraudulent, you can simply click Unhold on the order page. This changes the order status to Processing or Complete and you can fulfill the order normally.
To test a fraudulent payment, switch the module to Test mode from the configuration section, and then place an order using the card number 4000 0000 0000 9235.
3D Secure provides a layer of protection against fraudulent payments and most card issuers support it. The Strong Customer Authentication (SCA) regulation in Europe requires 3D Secure authentication for card payments. Unlike regular card payments, 3D Secure requires cardholders to complete an additional verification step with the issuer. Typically, this involves showing the customer an authentication page on their bank’s website, where they’re prompted to enter a password associated with the card or a verification code sent to their phone. This process is familiar to customers through the card networks’ brand names, such as Visa Secure and Mastercard Identity Check.
For complete details, you can read our guide to 3D Secure 2. To test 3D Secure 2, switch the module to be in test mode and use any of the testing card numbers. You can test the authentication process by creating a custom Radar rule on your Stripe account, or try the flow on our demo Magento server.
Translations for multi-language websites
The module contains a translation file that you can use to configure a multi-language Magento site:
To create a translation file for a different language, copy this file to:
Make sure to replace
languagecode_COUNTRYCODE with the locale code for your target language. This is the same language you’ve selected under System > Configuration > General > Locale Options > Locale.
After you copy the file, you can replace the second string on each row of it with a translation of the first string. You don’t need to do anything else for translations.