Payment rules
Payment rules are checks that run on a payment step before PeakCommerce charges the customer or creates a subscription. Both rules check the payment step's Stripe account. If a rule refuses the payment, nothing is created — no charge, no subscription, no customer record in Stripe — and the refusal appears on the session's timeline and in API Call Stats.
You'll find them on a payment step: open the step, then the Payment rules tab. The tab appears on steps that take a payment. Changes are saved with Save step and take effect when you publish the journey.
Refuse customers who already have an active subscription
Turn this on to stop a customer from buying a second subscription by opening the checkout journey directly — from an old email, a bookmark or a shared link.
How a customer is matched. By email address, compared without regard to capitalization or surrounding spaces, across every customer record with that email in your Stripe account. A customer can have several records with the same email; all of them are checked.
What counts. Subscriptions that are active, trialing or past due. A cancelled subscription does not count, so a returning customer can buy again.
Which subscriptions count.
Same product family — only subscriptions to products in the product set this journey sells from. This option is available only when the journey sells from a product set.
Any product — any subscription in your Stripe account.
Don’t count free ($0) subscriptions. Turn this on when customers can start on a free plan and later buy a paid one through this checkout. A subscription with a total price of $0 is ignored. Any charge still counts, including a paid add-on on an otherwise free plan.
What the customer sees. "You already have an active subscription, so nothing has been charged." This standard message always shows. You can add a next step after it under Existing subscription next step — for example, to tell customers where they manage their subscription. There is no retry button: retrying would not change the answer.
If Stripe doesn't respond (a timeout, an outage or a rate limit), the payment is not taken. The customer is asked to try again in a moment, and the failure is recorded.
If the check can't run at all — the customer's email is missing, or Stripe rejects the request — the payment is not taken and the customer is told the purchase can't be completed online right now. Retrying would not help, so no retry is offered. The failure is recorded so you can fix the setup.
What the rule needs
The rule can be turned on, saved and published only when:
the journey collects the customer's email (an action in the journey maps an email field);
the payment step charges through Stripe; and
for Same product family, the journey sells from a product set.
If something is missing, the Payment rules tab says what, and the switch stays off until it is fixed.
The check reads your Stripe account directly, so it reflects cancellations and status changes made there.
Allowed billing countries
Turn this on to accept payments only with payment details from the countries you sell in. The check validates the payment details the customer submits; it does not determine where the customer is located. Both of these must be on your list:
The card's issuing country — the country that issued the card, as reported by Stripe.
The billing-address country — the country the customer enters with their billing address, and the country saved on the card, when there is one.
Non-card payment methods are refused while this rule is on, because they have no card issuing country to check.
If either country is not on the list, the payment is not taken, and the refusal is recorded. Prices and currency don't change: an accepted customer pays in the journey's currency as usual.
Choosing countries. Add countries from the same list the checkout offers. To allow every country, turn the rule off; the list can't be emptied while the rule is on.
What the customer sees. "This purchase isn't available for your payment method or billing country, so nothing has been charged." This standard message always shows. You can add a next step after it under Country restriction next step. There is no retry button: retrying would not change the answer.
If Stripe doesn't respond, the payment is not taken. The customer is asked to try again in a moment, and the failure is recorded.
If the check can't run — no card was captured, or no billing country was entered — the payment is not taken, no retry is offered, and the failure is recorded so you can fix the setup.
This rule needs the payment step to charge through Stripe, which reports the card's issuing country.
When both rules are on, the country check runs first.
Last updated
Was this helpful?
