Migrated from Redmine #631 | Author: mike hk
Status: Closed | Priority: High, I’m very impatient | Created: 2020-12-29
I am using the promo code feature from the “Coupons & Gift card”
The current way does not allow me to check the promo code before maing a booking,these are the current steps:
- make new booking with the following parameters to create an invoice
“accept_payment” => true,
“payment_processor” => “delay” - get the invoice id and call “apply promo” API
- returns if the Promo code was successful or failed
I would like to allow the user to check if the promo code is valid first, so the user can choose not to book the service if their promo code is not valid or choose to book the service without entering the promo code.
Please help!