问题
I'm implementing Sofort payment gateway in Android by the help of Stripe and I need some direction. I'm following Stripe Doc
I've successfully done till Step 2 but I'm not understanding how to go with Point 3 to Charge the Source & webhooks. Will there be some backend coding to implement webhooks?
If someone has already implemented Sofort please post it. I'll be very thankful. Please I need attention on this.
回答1:
You are correct that you need to do Steps 3 and 4 on the back end. You would pass the Source's 'id' to your backend server and start with the example code in Step 3:
https://stripe.com/docs/sources/sofort#make-a-charge-request-using-the-source
Then in Step 4 you implements a Webhook Endpoint that listens for the updated events:
https://stripe.com/docs/webhooks
来源:https://stackoverflow.com/questions/62558425/need-some-direction-to-implement-sofort-a-payment-gateway-using-stripe-in-andr