On the invoice page, I have created an input field to take a value. User putting a value on that field and clicks Pay button. And I am sending the value to the pay_process.php page in the pay_process.php page it is checking the value from the database if the value is valid or not if the value is valid then the invoice will be paid.
Now the issue is that after validating the value with database how should I use the callback file to mark the invoice as paid.
What will be the code for the callback file redirection and how the invoice will mark as paid?
Question
technosect
Hey there,
I am creating my own Payment Gateway module.
On the invoice page, I have created an input field to take a value. User putting a value on that field and clicks Pay button. And I am sending the value to the pay_process.php page in the pay_process.php page it is checking the value from the database if the value is valid or not if the value is valid then the invoice will be paid.
Now the issue is that after validating the value with database how should I use the callback file to mark the invoice as paid.
What will be the code for the callback file redirection and how the invoice will mark as paid?
Here is the code:
pay_process.ph
Someone, please help me.
Thanks in advance!
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.