I would like to update prices defined in products based on the options provided in the installation form (eg promo codes). I tried to update schema.options.*.productDefinitions using "option-change" hook but it doesn't work.
Using Cloudflare Apps paid products requires a Cloudflare subscription and therefore all the paid products must be configured through the process outlined here: https://cloudflareapps.com/apps/developer/docs/payments-and-billing/products
While you cannot dynamically change the schema of products, you can change the product the user selected using a hook and make that product free. I have not tested this though.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.