Activities of "Bryan-EDV"

Hi Maliming,

I'm currently leveraging on a payments module

could you guide how to add a break point on that GatewaySelectionModel? I believe that is part of the module code right?

BTW should it be a POST or GET request? i'm getting 404 for GET and 405 method unsupported for POST

[07:52:39 DBG] SessionId(0be33478-802f-4b24-a92a-8e985e1918f1) found in cache, Updating hit count(9), last access time(12/19/2025 7:52:39 AM) and IP address(172.18.0.1). [07:52:39 INF] Executing endpoint '405 HTTP Method Not Supported' [07:52:39 INF] Executed endpoint '405 HTTP Method Not Supported' [07:52:39 INF] Request finished HTTP/1.1 POST http://localhost:44346/Payment/GatewaySelection?paymentRequestId=3a1e47a4-4cb7-637e-2570-3ee7ad0f002a - 405 null null 36.9539ms

Hi Maliming

I'm trying to init a payment request and redirect the user to the URL to make payment

http://localhost:44346/Payment/GatewaySelection?paymentRequestId=3a1e4773-46cd-efff-049d-874703628099

testing locally however this URL is returning 404. Am i doing something wrong? Many thanks

Hi,

In that case what is an event we can listen to to trigger enrollment of the user in his course he purchased?

My initial flow assumes will enrol him to the course when we KNOW the payment is successful

And on the flipside we will NOT enrol him once we know that payment failed.

Many thanks for clarification

Hi Maliming,

In the event that a payment fails, is there an event for that? I see that in the docs there is only an event for Volo.Payment.PaymentRequestCompleted

We are using angular + abp setup

Would there be any issues if we were to try using the module leveraging razor pages? or better to wait till 10.1 before implementing the FE screens? thanks

Hi Maliming,

Take a simplified flow:

  1. User adds items to cart
  2. Upon checkout, create one payment request with _paymentRequestAppService.CreateAsync
  3. the payment request would have a list of products which correspond to the items in the cart
  4. on each product, i add extra properties on the details of the product. e.g. course id, target user id
  5. I listen to the Volo.Payment.PaymentRequestCompleted event
  6. Handle event by adding user paymentRequest.Products[n].ExtraProperties.UserId to the relevant courses paymentRequest.Products[n].ExtraProperties.CourseId

Is this flow and my understanding correct?

Could you also advise what steps are needed if we are using ABP with Angular?

Many thanks

Sure, thanks.

For the other part of the qn,

In addition, I’m planning to implement the following workflow:

  1. A customer browses available courses/modules.
  2. They add selected items to a shopping cart.
  3. They proceed to checkout and make payment.
  4. Upon successful payment:
  5. The customer is added to a join table (e.g., UserCourse or Enrollment).
  6. This grants them access to the course(s) they purchased.

Could you advise on the best practices to implement this in ABP?

Oh i realised its a different account. Bryan-EDV is not Lexarius

Hi

Strangely can't see that screen.

just this one.

Also my user is Bryan-EDV here:

But when i click on my account, it is lexarius

Showing 1 to 10 of 102 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.