Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Shahin Shayandeh 78af7ceae1
Add payment sample
7 years ago
..
78af7ceae1
Add payment sample
7 years ago
78af7ceae1
Add payment sample
7 years ago
78af7ceae1
Add payment sample
7 years ago
78af7ceae1
Add payment sample
7 years ago
78af7ceae1
Add payment sample
7 years ago

README.md

You have to be logged in to leave a comment. Sign In

Payment Bot Sample

A sample bot showing how to integrate with Microsoft Seller Center for payment processing.

Prerequisites

The minimum prerequisites to run this sample are:

  • The latest update of Visual Studio 2015. You can download the community version here for free.
  • Register your bot with the Microsoft Bot Framework. Please refer to this for the instructions. Once you complete the registration, update the Bot's Web.config file with the registered config values (MicrosoftAppId and MicrosoftAppPassword).

Microsoft Bot Builder

This sample has been developed based on Microsoft Bot Builder Dialog system. You can follow the following sample to become familiar with different kind of dialogs and dialog stack in Bot Builder.

Microsoft Seller Center

  1. Create and activate a Stripe account if you don't have one already.

  2. Sign in to Seller Center with your Microsoft account.

  3. Within Seller Center, connect your account with Stripe.

  4. Within Seller Center, navigate to the Dashboard and copy the value of MerchantID.

  5. Update your bot's web.config file to set MerchantId to the value that you copied from the Seller Center Dashboard.

Publish

Also, in order to be able to run and test this sample you must publish your bot, for example to Azure. Alternatively, you can use Ngrok to interact with your local bot in the cloud.

Outcome

To run the sample, you'll need to publish Bot to Azure or use Ngrok to interact with your local bot in the cloud.

  • Running Bot app
    1. In the Visual Studio Solution Explorer window, right click on the PaymentsBot project.
    2. In the contextual menu, select Debug, then Start New Instance and wait for the Web application to start.

You can use the webchat control in bot framework developer portal to interact with your bot.

More Information

To get more information about how to get started in Bot Builder for .NET and Conversations please review the following resources:

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...