Русский
Academy → Plugins

Payment Demo: check payment outcomes

See whether a buyer can tell success from failure. Try a declined test payment, then place a separate test order and choose success.

Test shop activation manifest · payment-demo

What visitors see

In the test shop the buyer picks one of two simulated outcomes. HOBA updates the test order status; there is no card form and no charge.

What you need

To explore it, use the test store and its test account. To run it yourself, the operator needs the same Core pilot and enabled Market Basket 0.1.0 for the same site. No merchant account, payment key, or plugin permissions are needed.

Where the data goes

The selected success or failure action for the test order goes to Core. No data goes to a bank or payment service, and the simulator never requests card details.

How to enable it

  1. Check the pilot site’s cart first. For your own test setup, the operator registers the separate Payment Demo manifest and sets the same site UUID as Market Basket.

  2. Have the operator explicitly enable the simulator version. Try the flow as a test buyer on the published test site.

Which settings go where

  • Operator · the same Core with the built-in pilot (schema 15; manifest requires ^0.2.18) and Market Basket 0.1.0 already enabled.

  • Operator · Admin: Plugins → Unsigned plugin package → install.json for payment-demo 0.1.0. Under Configure set Exact demo site UUID (site_id) to the same UUID as the cart and choose Enable. There are no gateway settings, public blocks, or payment secret fields.

How to check it

Place two test orders and choose a different outcome for each. Check both statuses in the order history. Make sure the site never asks for card details.

If something does not work

The simulator is unavailable without an active cart on the same pilot site. A passing demo does not make the site ready to take money. A separate integration would need to create payments and verify confirmation from the payment provider.