Reply To: Automatic approval with coupon

Thank you feryaz,

I’ve been able to edit the function and approve with the coupon in question.
Sadly it is not automatically allocating a resourcenumber.
It stays on 0.
Which means the calendar is not updated/the client does not have a resourcenumber for their reservation.
I assume there is a certain function that waits for the paypal callback which then approves+allocates the resourcenumber.
Any ideas on how to bypass this/enable allocation of resourcenumber?

Much appreciated.


PS I am compiling a list of small bugs I have encountered that I have fixed for you to include in a next beta (small things that don’t break the code but are errors that are being ignored)