[英]Payment Gateway Integration between Android app and Web Api
This is my first time integrating a payment gateway.这是我第一次集成支付网关。 I am trying to integrate FlutterWave Payment gateway in my application.
我正在尝试将FlutterWave支付网关集成到我的应用程序中。 Its an Android app native with .net Web Api/Rest as backend.
它是一个Android 应用程序,使用.net Web Api/Rest作为后端。 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.
我们从客户信用卡中扣除金额,一旦付款完成,我们会在数据库中将用户角色更新为 Pro。 I am stuck as where should I integrate the payment gateway.
我被困在哪里应该集成支付网关。
To do that securely and correctly you must use WebHook.要安全且正确地执行此操作,您必须使用 WebHook。 you pay on the Android side and do nothing else on this side.
您在 Android 一侧付款,而在此一侧不做任何其他事情。 To notify and update data you must implement a webhook on the API side.
要通知和更新数据,您必须在 API 端实现 webhook。
this is the documentation link for WebHook on FlutterWave这是 FlutterWave 上 WebHook 的文档链接
https://developer.flutterwave.com/docs/events#what-is-a-webhook https://developer.flutterwave.com/docs/events#what-is-a-webhook
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.