Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment Flow #48

Merged
merged 26 commits into from
Dec 28, 2021
Merged

Payment Flow #48

merged 26 commits into from
Dec 28, 2021

Conversation

enisn
Copy link
Member

@enisn enisn commented Dec 27, 2021

Closes abpframework/abp#11066
This PR includes Payment flow from purchase to the basket.

  1. Purchase button (entry point)
  2. Payment Service creates a checkout link and returns to Public Web
  3. Public Web Redirects to the checkout link
  4. PayPal redirects to the Public Web after payment operation (successful/failed)
  5. Public Web calls Complete Payment endpoint of Payment Service
  6. Payment Service checks the payment from Paypal and updates the status and publishes an event about payment.
  7. Ordering Service handles the event of payment status and inserts an order, then it publishes an event too.
  8. Basket Services handles the event was published by Ordering Service and clears the basket of buyer user.

You can use following account to perform a purchase operation
Sandbox Account:
[email protected]
1q2w3E**

@enisn enisn requested a review from gterdem December 27, 2021 10:25
@enisn enisn marked this pull request as draft December 27, 2021 11:36
@enisn enisn marked this pull request as ready for review December 28, 2021 08:06
@gterdem gterdem merged commit 52310d3 into gterdem/payment Dec 28, 2021
@gterdem gterdem deleted the enisn/payment-paypal-flow branch December 28, 2021 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants