We'll release LeptonX 2.0.5 version later in today. It'll solve the problem.
Since it's a bug, your credit is also refunded
We've reproduces the issue, We're working on it
Created a new Blazor server app: changed the layout to top menu and I got this:
So same error.
Hi, as I can understand you're using Blazor WebAssembly. And did you updated your bundles after changing layout with abp bundle
command?
You can follow those steps If you haven't done: https://docs.abp.io/en/commercial/latest/themes/lepton-x/blazor?UI=Blazor#updating-bundles-on-layout-changes
Sorry for late answer, Unfortunately we couldn't reproduce the problem. Can you please provide us minimum reproduction steps to achieve this?
Did you configured properly according to the documentation: https://docs.abp.io/en/commercial/latest/modules/payment#paymentoptions
You should add at least one of the payment provider as gateway. You can see each payment gateway has different parameters to configure.
You can use your appsettings.json to configure them properly. You can use the following boilerplate from the documentation:
"Payment": {
"Payu": {
"Merchant": "TEST",
"Signature": "SECRET_KEY",
"LanguageCode": "en",
"CurrencyCode": "USD",
"VatRate": "0",
"PriceType": "GROSS",
"Shipping": "0",
"Installment": "1",
"TestOrder": "1",
"Debug": "1"
},
"TwoCheckout": {
"Signature": "SECRET_KEY",
"CheckoutUrl": "https://secure.2checkout.com/order/checkout.php",
"LanguageCode": "en",
"CurrencyCode": "USD",
"TestOrder": "1"
},
"PayPal": {
"ClientId": "CLIENT_ID",
"Secret": "SECRET",
"CurrencyCode": "USD",
"Environment": "Sandbox",
"Locale": "en_US"
},
"Stripe": {
"PublishableKey": "PUBLISHABLE_KEY",
"SecretKey": "SECRET_KEY",
"PaymentMethodTypes": ["alipay"]
},
"Iyzico": {
"ApiKey": "API_KEY",
"SecretKey": "SECRET_KEY",
"BaseUrl": "https://sandbox-api.iyzipay.com",
"Locale": "en",
"Currency": "USD"
},
"Alipay": {
"AppId": "APP_ID",
"GatewayHost": "openapi.alipaydev.com",
"AlipayPublicKey": "ALIPAY_PUBLIC_KEY",
"MerchantPrivateKey": "MERCHANT_PRIVATE_KEY"
}
}
You should redirect a POST method to /Payment/GatewaySelection?paymentRequestId=
instead GET. You can submit a form and redirect that request with LocalRedirectPreserveMethod().
The example shows it but it seems it's not clearly described in the documentation, I'll update the documentation according to this issue.
Are you using the latest version of LeptonX?
Also make sure you changed theme package in package.json
file
"@volo/abp.aspnetcore.mvc.ui.theme.leptonx": "~2.0.3",
"@volo/aspnetcore.components.server.leptonxtheme": "~2.0.3",
And run abp install-libs
command.
Then all the css & javascript files should be updated.
Thanks for reporting those bugs.
Since they're bugs, your credit is refunded
Hi,Issue 2 and Issue 3 are known issues and will be solved in the next version.
I'm creating internal issues for Issue 1 and Issue 4.
Can you please provide which LeptonX version are you using?
Multiple gateways aren't supported by Payment module right now. I'm creating an issue for it into our backlog & we'll develop a feature that allows saving more than one gateway at the same time