Activities of "EngincanV"

Hi @travom, thanks for the information. I've created an issue for this problem.

Answer

Use suite to create a new MVC project, install the payment module, and add the calling code on the home page, as shown in the figure below,

After running, jump to the payment method selection page, but it is a blank error page https://localhost:44360/Payment/GatewaySelection?paymentRequestId=39fc04c1-7784-9498-164f-3734160b648f

I look at the source code of the payment method selection page, and there is no specific implementation

Is this a bug?

Hi @lataing, as you mentioned OnGet method of GatewaySelection page returns BadRequest. This is an expected behavior. Because the paymentRequestId must be specified, if it's not specified then this means an invalid request has been made.

Can you please be sure about using the sample code in OnPost method of your razor page? Because if you use the sample code on OnGet method it gives a status code as 400.

Answer

Hi @MILLENNIUM, I've reproduced your steps. I've not encountered any problem. Can you check you configure the PaymentWebOptions? You can configure the options like below. And also please be sure about using the sample code in OnPost method of your razor page. Because if you use the sample code on OnGet method it gives a status code as 400.

Configure<PaymentWebOptions>(options =>
{
    options.RootUrl = configuration["AppSelfUrl"];
    options.CallbackUrl = configuration["AppSelfUrl"] + "/PaymentSucceed";
    options.GatewaySelectionCheckoutButtonStyle = configuration["Payment:GatewaySelectionCheckoutButtonStyle"];
});
Answer

Thanks for your information @sgal. I reproduced your problem and as you say user interface (Angular) could not be generated. I've created an issue about it.

Showing 721 to 724 of 724 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11