I'm about to work with a bank to set up a self hosted payment form. Their requirements and documentation makes sense so far.
On my end of the database I don't record sensitive data such as credit card details.
Question:
I have created a field in my users table called paid
, which will contain either a 1 or 0
Should that be enough for the bank?
I'm assuming its like pay-pal where you can put a link inside to run after payment is approved. My script would simply update the - paid - field with a 1 if the payment was a success. ELSE if the payment were not a success it would update with zero and send email to staff and user etc...
Is that the simplicity of it or am I missing something?