Reply To: Custom Payments Gatewaty

😉 As there’s only one person working with the code there’s of course no documentation of it.
In short:
in paypal.php is a function easyreservation_generate_payment_form() in that all payment gateways are listed and get inserted in an array for the guest to choose.
For every gateway it calls easyreservations_generate_paypal_button() that generates the payment form/button.
In it you’ll need to add your gateway and name the variables right.

Each IPN is in a separate file and you can copy everything after the check and put it after your IPN’s check to get the same functions like autoapprove.