Skip to main content
A payment link with tax_collection or local_pricing is paid on the hosted checkout. The page quotes the tax for the buyer’s address and tax ID, and then pays with the quotes stored on the checkout session. This page lists the errors of those two steps and how the page shows each one.

Error shape

Every error carries four keys:
field and message_id say which field the buyer has to fix and which error_messages entry of that field applies, so the error can be shown next to the field in the buyer’s language. An error without field is shown as a notice.

Tax quote: field errors

All of them answer 422.

Tax quote: other errors

field and message_id are null.

Payment errors

field and message_id are null. No payment is created. On an expired quote the page quotes again and asks the buyer to confirm the new total.

See also