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:
paymentRequest.Products[n].ExtraProperties.UserId to the relevant courses paymentRequest.Products[n].ExtraProperties.CourseIdIs 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:
Could you advise on the best practices to implement this in ABP?