Validations
- Payment links have a variety of validation constraints to be aware of. Validations will be performed at request time and are derived from both your request parameters as well as any referenced resources within Stripe.
- An example validation is for sum total price. The sum total for a payment link must be greater than zero, and a validation error will occur if the sum total of all prices and discounts is equal to zero.
Have any questions or feedback?
or join us on Discord
Validations
Currency conflict | All prices must be in the same currency. |
---|---|
Interval conflict | All prices which are not one time charges, must have the same billing interval |
Zero quantity | All prices must have a minimum quantity of 1. |
Zero total | The total amount must be greater than zero. |
Coupon currency conflict | All fixed amount coupon must be in the same currency as prices. |
Payment method interval conflict | Only the "Card" payment method is allowed for recurring prices. |
Payment method currency conflict | Some currencies are not compatible with certain payment methods. e.g. USD and iDEAL. |
Payment method - capture method conflict | Only the "Card" payment method is allowed to be used for payment authorization. |
Shipping rate currency conflict | All shipping rates must be in the same currency as selected prices. |
Shipping rate interval conflict | Shipping options are only supported for one time charges. |
Tax behavior conflict | All price and Shipping options must have the same tax behavior when automatic tax collection is enabled. |
Tax behavior missing | Prices and Shipping options must have a specified tax behavior to be used with automatic taxes |
Shipping required | The Afterpay / Clearpay payment method requires that you collect shipping information. |
Min max total | Some payment method types have total value limits. e.g Afterpay / Clearpay has an allowed total value maximum of A$2,000. |