Reply To: Reservation status not automaticall updated to approved after payment

Hi Feryaz,
Although I’m not a programmer, I viewed the Ogone_ipb-php code and indeed see that you trigger the auto-approve on the status 5 or 51.

if(isset($_POST[‘STATUS’]) && ($_POST[‘STATUS’] == 5 || $_POST[‘STATUS’] == 51) && $_POST[‘PSPID’] == $ogoneOptions[‘pspid’] && $_POST[‘amount’] > 0 && $MAC == $_POST

I learned that status=9 is the definitive status code, meaning payment is received and transfer to my bank account is done. I will try to chnage the 51 to 9 and see what happens
Keep you posted