DOCS

Stripe settings

Stripe is configured in WP admin Ecommerce Payments Stripe

General settings

  • Site currency

API keys

All Stripe API requests occur in either test or live mode. You can get your keys in dashboard.stripe.com/apikeys

Live mode

Use this mode when you’re ready to launch your app. In live mode, card networks and payment providers do process payments.

Keys required:

  • Secret key

Learn more https://stripe.com/docs/keys

Test mode

Use this mode as you build your app. In test mode, card networks and payment providers don’t process payments.
https://stripe.com/docs/test-mode

Keys required:

  • Test secret key

Webhook endpoints

After adding your Stripe API keys, click Create Webhook to establish a connection between your site and Stripe. This webhook enables real-time synchronization of orders.

Local Stripe

To setup webhooks on a local installation:

  1. Install the Stripe CLI and and log in to authenticate your account
  2. Forward webhook events to your local endpoint using command:
    • stripe listen --forward-to="https://local.test/?vx=1&action=stripe.webhooks"
  3. Paste the generated webhook signing secret into Payments Stripe Sandbox API key

Customer portal

Stripe customer portal allows your customers to edit their payment methods, view invoice history, and update their customer details.

In WP admin ➝ Ecommers ➝ Payments ➝ Stripe ➝ Customer portal you can control various settings related to the customer portal.

  • Show invoice history
  • Allow customer to update details
  • Select allowed fields: Email, Billing address, Shipping address, Phone numbers, Tax IDs

Customers can access the customer portal via the Orders (VX) widget (single order page)

Continue reading