All Collections
BridgerPay Checkout
How can I forbid a client to change the currency and amount on the UI?
How can I forbid a client to change the currency and amount on the UI?
Ben avatar
Written by Ben
Updated over a week ago

Q: How can I forbid a client to change the currency and amount on the UI?

A: Assign 'true' to the respective "lock" parameters.

For the Cashier widget:

data-currency-lock="true"
data-amount-lock="true"

For creating a server session:

"currency_lock": true,
"amount_lock": true,

Did this answer your question?