Skip to content

Go live

Test a purchase and go live

Run a test purchase through your test link, read the four checks, fix a test that earned nothing, and take your affiliate program live.

Every program comes with a test affiliate. Its link is your website with ?via=test at the end, such as https://yourstore.com/?via=test. No real affiliate can take this code, and it works in test data only.

Your website tag reports visits through the test link with your test key, so the click, the signup and the payment that follow all stay in test data. Test commissions are never paid out.

Try a test purchase

In Setup, step 4 has Try a test purchase. It’s optional, and the best way to know payments will credit your affiliates. Choose Start listening, then buy the way your customers do.

  1. Open your test link in a normal browser window, with ad blockers off, so the tag records a test click.
  2. In Stripe, copy a test-mode payment link. It starts with https://buy.stripe.com/test_.
  3. Paste it into Stripe test-mode payment link and choose Try a test purchase. EzyPromote opens the link with your test click added.
  4. Pay with Stripe’s test card 4242 4242 4242 4242, any future expiry date and any CVC.

The link must not set client_reference_id already. You can also open a test-mode payment link from a page that has the tag, in the same browser as your test click.

Stripe Checkout, or Sign up first, pay later

Use a copy of your site that runs Stripe in test mode, such as a staging site, with the same tag.

  1. Make sure EzyPromote accepts clicks from it. A subdomain of your website, such as staging.yourstore.com, works already. For another domain, add it under Your site’s domains in Settings → Tracking and payments. In test mode, localhost works too.
  2. Open the staging site with ?via=test at the end.
  3. Sign up, if your site binds signups, then check out and pay with the test card 4242 4242 4242 4242.

Another billing system

Send a transaction.paid event to your test connection with livemode set to false, carrying the referral_hint or user_id from a visit through your test link. See Use another billing system.

The four checks

Check What it means
Click recorded Your test link reached EzyPromote.
Customer matched to the test affiliate Stripe, your server or your billing system told EzyPromote who bought, and it matched them to the test click.
Payment received The test payment arrived, with its product and amount.
Commission created The test affiliate earned a commission, held for your refund window.

When all four show Received, your setup works end to end.

Why a test payment can earn nothing

What you see Why Fix
Your test payment arrived without a click Nothing in the payment pointed to the test click Payment links: open the test link first, then buy from a page with the tag in the same browser. Checkout: check that metadata.ep_click is set when you create the session. Sign up first: check that ep_user_id is in the customer’s metadata.
The click and the payment are in different modes A test click with a live payment, or the reverse Use the test link with a Stripe test-mode payment.
Stripe product “…” isn’t in your campaign The payment named a product your campaign doesn’t pay on Choose Add this product, then Credit skipped sales.
The customer paid before they were referred Your Stripe test customer has paid before Buy with a new email address.
Nothing was paid after tax and discounts A free plan or a 100% coupon Use a price above zero.
No click at all An ad blocker, or a cookie banner you didn’t accept Turn off ad blockers and accept cookies when you open the test link.

The go-live checklist

Step 4 shows Before you go live:

  • Clicks are arriving from your site. The tag has been seen, or a test click arrived. You can go live without it, but affiliates’ clicks won’t count until it works.
  • Payments connected in live mode. Your live Stripe key (rk_live_…) or your live Custom billing API connection. Without one, no commissions are created. You can still go live by ticking “Go live without a live payment connection”, then connect it in Settings → Tracking and payments before affiliates send customers.
  • An active campaign. If it’s off, turn your campaign on first.
  • Email confirmed. Open the link EzyPromote sent to your email address, or choose Send the link again.
  • Two-factor sign-in. Recommended, not required. See below.

If a campaign is listed in the marketplace, EzyPromote also needs a card for the marketplace fee. Listing is free. EzyPromote charges this card 10% of each sale the marketplace brings, monthly. If it’s missing, the Go live dialog shows Add a card, and going live continues once the card is saved.

Only the program’s owner can go live.

Two-factor sign-in

Two-factor sign-in asks for a code from an authenticator app when you sign in. It’s recommended, not required, to go live. Turn it on in Security.

You’ll need it later as the program’s owner, to confirm a payout run, archive the program, or change your EzyPromote plan.

Go live

  1. Choose Go live.
  2. Read the dialog, then choose Go live again.

What changes once you’re live

  • Live clicks count, and live payments create commissions you pay.
  • Campaigns you listed appear in the marketplace.
  • Your program currency locks.
  • Your program can’t go back to setup. You can archive it later.
  • Test data keeps working. Turn it on and use your test link to try changes at any time.

Next: Get your first affiliates.