If you are using our previous version of the pay button, please refer to the old dynamic pricing and quantity guide

See the below examples to understand how to implement dynamic pricing or quantity into your dApp.

The examples below use the Crossmint Pay Button, but the same approach is compatible with the Embedded Checkout as well.