< All Topics
Print

Setting up Stripe Payments

Step 1: Access Payment Methods Configuration

  1. Login to Your Website: Begin by logging into your Magento 2 website’s admin panel.
  2. Navigate to Configuration: From the dashboard, go to Stores > Configuration > Sales > Payment Methods.
  3. Locate Stripe Payment Option: Find the Stripe payment option within the list and click on Configure.
  4. Open General Settings: Click the dropdown for General Settings.

Step 2: Configure Stripe Payment Settings

  1. Switch Between Test and Live Mode: Within the general settings, you can toggle Stripe Payments from Test mode to Live mode.
  2. Retrieve API Keys: In the Live mode, you will see fields for the Live Publishable API Key and Live Secret Key. These keys need to be obtained from your Stripe account.

Step 3: Create a Stripe Business Account

  1. Access Stripe Dashboard: Go to Stripe Dashboard.
  2. Login or Create Account:
    • If you already have an account, log in with your credentials and navigate to your dashboard.
    • If you do not have an account, click to create one by entering a username and password to begin the account creation process.
  3. Verify Your Email:
    • After creating an account, Stripe will send a verification email to the address you provided.
    • Navigate to your email inbox, find the email from Stripe, and click Verify Email.

Step 4: Complete Profile Setup

  1. Access Stripe Dashboard: After email verification, you will be redirected to your Stripe Dashboard. Note that this account is initially a test or staging account until the profile is completed.
  2. Complete Profile: Click Complete Profile to start the multi-step business verification process.

Step 5: Business Verification Process

  1. Enter Business Details: Provide all necessary business information as prompted by Stripe.
  2. Add Bank Account: Ensure you add your bank details for payouts.

Step 6: Secure Your Account

  1. Choose Security Options: During the security setup, you can select More Options and opt for the SMS security option. This is the easiest to set up, though it is technically the least secure.

Step 7: Tax Information

  1. Enter Tax Info: You can choose to enter your tax information or skip this step if preferred.

Step 8: Donation Preferences

  1. Skip Donation Setup: If prompted about donations, you can opt to skip this step.

Step 9: Finalize Setup

  1. Review Business Details: Before completing the setup, review all entered business details carefully.
  2. Agree & Submit: Once reviewed, click Agree & Submit to finalize the setup.

Step 10: Connect Stripe API to Magento

Ensure your Magento website Stripe settings are no longer in default Test mode: Navigate to Stores > Configuration >Sales >Payment Methods
Now you will click General Settings dropdown and ensure MODE is set to LIVE

Navigate back to Stripe Dashboard to get Live publishable API key & Live secret API key : Click on DEVELOPERS in top right corner > then click the API KEYS tab.
Here you will see your Live publishable API key and you can generate a secret key. Copy both of these and paste them into the General Settings section on your website in Stripe area.

Ensure Payments are enabled : Click on PAYMENTS dropdown directly under General Settings and make ENABLED is set to YES

Step 11: Flush Cache and Test

Flush your websites cache : Navigate to System > Cache Management > Click Flush Magento Cache
Go back to the FRONT END of your website and add a random product to your cart > PROCEED TO CHECKOUT > ENTER A VALID MAILING ADDRESS > PROCEED TO PAYMENT SCREEN
You will now see that Stripe Payments are active


Table of Contents
Shopping Cart