Reputation: 11
This is my first time integrating a payment gateway. I am trying to integrate FlutterWave Payment gateway in my application. Its an Android app native with .net Web Api/Rest as backend. We deduct amount from customer credit card and as soon as payment is completed, on success we update the role of user to Pro in database. I am stuck as where should I integrate the payment gateway.
Upvotes: 1
Views: 1096
Reputation: 440
To do that securely and correctly you must use WebHook. you pay on the Android side and do nothing else on this side. To notify and update data you must implement a webhook on the API side.
this is the documentation link for WebHook on FlutterWave
https://developer.flutterwave.com/docs/events#what-is-a-webhook
Upvotes: 0