Skip to content

How Is Gateway Supposed to Work? #186

Answered by alexeyzimarev
prismalogic asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the feedback. I am wondering why you needed to do all that work as it's already in the sample app. The RegisterPayment endpoint in the Bookings app is for easy demo purpose only, but the flow should work as you described if you just run Bookings and Payments without any changes.

Here's the API endpoint in Bookings.Payments: https://github.com/Eventuous/dotnet-sample/blob/baf0d7c8e528afc8a50c53da2417bee8d11a8b8f/Bookings.Payments/Application/CommandApi.cs

Here's the integration subscription in Bookings: https://github.com/Eventuous/dotnet-sample/blob/baf0d7c8e528afc8a50c53da2417bee8d11a8b8f/Bookings/Integration/Payments.cs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@prismalogic
Comment options

Answer selected by prismalogic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants