Reputation: 39
I want to implement payment in bot framework V4. I couldn't find any sample in c#. my main problem is after the payment page is open how to return back to the chat after the payment is done.
Upvotes: 0
Views: 158
Reputation: 1577
It depends on the Channel you are using, For example in a Facebook Messenger Webview they provide you with an SDK so you can send/receive data between the Webview and the chat.
But in all cases you can provide the user with a payment URL containing data that can identify that user. Once the user completes the payment in that new web page, you can then trigger the bot to send a proactive message for the user on the chat and continue from there.
Upvotes: 1