Skip to content
Store

Engine Pay

Stripe add-on

Take card payments, with Apple Pay and Google Pay, through Stripe Checkout with the Engine Pay Stripe add-on for Engine Builder.

The Stripe add-on lets buyers pay by card, with Apple Pay and Google Pay, through Stripe Checkout. Buyers pay on Stripe's own page, so card numbers never reach your site.

Engine Pay itself is free and comes with PayPal and offline payments. The Stripe add-on is a separate paid add-on from Engine Templates. It is a Joomla plugin called Engine Pay - Stripe (plg_enginepay_stripe, version 1.1.0) and works with the Buy button and the shop.

Install it

  1. Go to System > Install > Extensions and upload the add-on's zip file.
  2. Go to System > Manage > Plugins and search for Engine Pay - Stripe.
  3. Open it to enter your keys (below), and make sure it is enabled.

Settings

SettingWhat it does
Secret keyFrom Stripe > Developers > API keys. Starts with sk_test_ (test) or sk_live_. A restricted key (rk_) with write access to Checkout Sessions works too.
Webhook signing secretStarts with whsec_. Lets orders be marked paid even when the buyer closes the tab before coming back.
Name shown to buyers"Card" by default. For example "Card, Apple Pay and Google Pay".

Stripe is ready as soon as a secret key in the right format is saved. A test key (sk_test_ or rk_test_) puts it in test mode; a live key takes real payments. Test orders are marked as test on the Orders screen.

Set up the webhook

The webhook tells your site about payments even when the buyer never returns from Stripe.

  1. Go to Components > Engine Builder > Orders. In the Payments box, the Stripe line shows your webhook endpoint address. It ends in index.php?option=com_enginebuilder&task=pay.webhook&provider=stripe.
  2. In your Stripe dashboard, add a webhook endpoint with that address.
  3. Choose these events:
    • checkout.session.completed
    • checkout.session.async_payment_succeeded
    • checkout.session.expired
  4. Copy the endpoint's signing secret into Webhook signing secret in the plugin and save.

The Stripe line on the Orders screen then says signing secret saved. Until then it says no signing secret.

Engine Pay only accepts webhook messages signed with your secret, and only within five minutes of being sent. When a Stripe checkout expires without payment, the order is marked Cancelled.

Offer card payments

  • Shop: Stripe appears at checkout under Payment, before PayPal and offline payment.
  • Buy button: tick it under Ways to pay in the element's settings.

What the buyer sees

  1. The buyer chooses the card option and presses the button.
  2. Stripe Checkout opens with the items, or the item with its quantity, image and short description for a Buy button.
  3. The buyer pays by card, Apple Pay or Google Pay.
  4. They come back to your receipt page. Engine Pay checks the payment with Stripe, and the order becomes Paid.

For shop orders, Stripe shows each item, plus separate lines for shipping and tax. When a discount code was used, Stripe shows one line with the order total instead.

Discount codes

  • Shop: discount codes from Options > Shop work with Stripe like with any other way to pay.
  • Buy button: switch on Accept discount codes in the element. Buyers can then enter Stripe promotion codes on the Stripe page. Create those codes in your Stripe dashboard. Engine Pay accepts the lower amount Stripe reports when a code was used.

Delivery address and phone

When a Buy button asks for a delivery address, Stripe collects it, limited to the countries in Ship to countries (or a list of common countries when that is empty). When it asks for a phone number, Stripe collects that too. Details from Stripe only fill fields that are still empty on the order.

Refunds

Make the refund in your Stripe dashboard, then tick the order on the Orders screen and press Mark refunded. See Orders.

    Type to search all pages. ↑↓ to move, Enter to open.