I have been coding for about 6 months now but there are things that I need to know to learn more. Like the transactions interfacing that goes on between the website and the integrated payment gateway used in the website. So my question goes:
How do websites like those of betting firms make deposits from payment gateways like paystack to be inserted into their database after a user makes payment? And then displays the user’s balance on the Web form. Is it interfacing with payment gateways? If so, then how do interfacing with payment gateways work in websites, so that if a user clicks on a button to make payment into the user's web account (or wallet) they will be redirected to the payment site where the user will make deposit, and after the transacting goes through, the amount deposited will go into the database and be displayed along with the user's ID. Finally if the user makes use of a particular service and gets charged for it, there will be a debit on the user’s web account and the balance of the user will change and balance will be displayed. I will really be totally grateful if I get help on this.