Activities of "kirotech"

  • ABP Framework version: v7.0.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
`2023-01-19 18:38:22.315 +02:00 [INF] Executing endpoint 'Volo.Payment.Requests.PaymentRequestController.HandleWebhookAsync (Volo.Payment.HttpApi)'
2023-01-19 18:38:22.320 +02:00 [INF] Route matched with {area = "payment", action = "HandleWebhook", controller = "PaymentRequest", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Boolean] HandleWebhookAsync(System.String, System.String, System.Collections.Generic.Dictionary`2[System.String,System.String]) on controller Volo.Payment.Requests.PaymentRequestController (Volo.Payment.HttpApi).
2023-01-19 18:38:22.362 +02:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": null,
  "message": "An internal error occurred during your request!",
  "details": null,
  "data": {},
  "validationErrors": null
}

2023-01-19 18:38:22.363 +02:00 [ERR] The signature for the webhook is not present in the Stripe-Signature header.
Stripe.StripeException: The signature for the webhook is not present in the Stripe-Signature header.
   at Stripe.EventUtility.ValidateSignature(String json, String stripeSignatureHeader, String secret, Int64 tolerance, Int64 utcNow)
   at Stripe.EventUtility.ConstructEvent(String json, String stripeSignatureHeader, String secret, Int64 tolerance, Int64 utcNow, Boolean throwOnApiVersionMismatch)
   at Stripe.EventUtility.ConstructEvent(String json, String stripeSignatureHeader, String secret, Int64 tolerance, Boolean throwOnApiVersionMismatch)
   at Volo.Payment.Stripe.StripePaymentGateway.HandleWebhookAsync(String payload, Dictionary`2 headers)
   at Volo.Payment.Requests.PaymentRequestAppService.HandleWebhookAsync(String paymentGateway, String payload, Dictionary`2 headers)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
   at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at lambda_method5116(Closure, Object)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-01-19 18:38:22.372 +02:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2023-01-19 18:38:22.376 +02:00 [INF] Executed action Volo.Payment.Requests.PaymentRequestController.HandleWebhookAsync (Volo.Payment.HttpApi) in 56.2772ms
2023-01-19 18:38:22.376 +02:00 [INF] Executed endpoint 'Volo.Payment.Requests.PaymentRequestController.HandleWebhookAsync (Volo.Payment.HttpApi)'
2023-01-19 18:38:22.389 +02:00 [DBG] Added 0 entity changes to the current audit log
2023-01-19 18:38:22.390 +02:00 [DBG] Added 0 entity changes to the current audit log
2023-01-19 18:38:22.391 +02:00 [INF] Request finished HTTP/1.1 POST https://localhost:44339/api/payment/stripe/webhook application/json;+charset=utf-8 2759 - 500 - application/json;+charset=utf-8 78.1126ms
2023-01-19 18:38:22.544 +02:00 [DBG] Executing HealthCheck collector HostedService.`
  • Steps to reproduce the issue:"
  • generate new mvc solution using suite
  • install payments module
  • add stripe settings
  • run stripe cli events listen " ./stripe.exe listen --forward-to https://localhost:44339/api/payment/stripe/webhook --events checkout.session.completed --skip-verify --log-level=debug"
  • make a payment and wait for webhook call forward
  • ABP commercial payment webhook api responds with 500 error
    • 2023-01-19 18:38:22.363 +02:00 [ERR] The signature for the webhook is not present in the Stripe-Signature header. Stripe.StripeException: The signature for the webhook is not present in the Stripe-Signature header.

Question Is this a bug or stripe testing cli doesn't work with payments module? Or we do something wrong? Or we have work around for this? We need solution to move forward with stripe payments and this blocks us from progress.

Hello, we have other web app login using abp 6.0.1 oauth, login works fine, but we struggle to implement single logout.

Can you help with samples or flows?

We try various abp auth application settings and nothing works for us.

Hello,

Our tenant will have some functionality where he needs payments to be done.

For example tenant will have customers paying invoices in the tenant system.

You suggest to reuse your pro payments module or is it not designed to use for tenants functionality payments?

Because now i see that payments module is pretty much only for host SaaS module and plans payments?

  • ABP Framework version: v6.0.0-rc.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

cli version v6.0.0-rc.4 abp suite version v6.0.0-rc.4

Suite just stopped generating ui for me. I tried to update to latest rc version my cli and suite also a project, but after upgrade project stopped working at all so I had to downgrade to make project working again.

This doesn't look like good developer experience at all. I wasted all day on this yesterday trying to recover cli and abp suite also project from failed upgrade.

from abp suite log

2022-09-28 18:50:15.597 +03:00 [INF] Running the Angular Schematics command:
node run-schematics.mjs "C:/project/angular/.suite/schematics/node\_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-pro Project "C:/project/aspnet-core/.suite/entities/Good.json" "C:/project/angular"
2022-09-28 18:50:30.682 +03:00 [INF] Angular Schematics command failed.
file:///C:/project/angular/.suite/schematics/node\_modules/execa/lib/error.js:59
error = new Error(message);
^

Error: Command failed with exit code 1: .suite/schematics/node\_modules/.bin/ng g .suite/schematics/collection.json:entity app-pro Project C:/project/aspnet-core/.suite/entities/Good.json
this.tree.readText is not a function
at makeError (file:///C:/project/angular/.suite/schematics/node\_modules/execa/lib/error.js:59:11)
at handlePromise (file:///C:/project/angular/.suite/schematics/node\_modules/execa/index.js:119:26)
at processTicksAndRejections (node:internal/process/task\_queues:96:5)
at async file:///C:/project/angular/.suite/schematics/run-schematics.mjs:6:18 {
shortMessage: 'Command failed with exit code 1: .suite/schematics/node\_modules/.bin/ng g .suite/schematics/collection.json:entity app-pro Project C:/project/aspnet-core/.suite/entities/Good.json',
command: '.suite/schematics/node\_modules/.bin/ng g .suite/schematics/collection.json:entity app-pro Project C:/project/aspnet-core/.suite/entities/Good.json',
escapedCommand: '".suite/schematics/node\_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-pro Project "C:/project/aspnet-core/.suite/entities/Good.json"',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: 'this.tree.readText is not a function',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}

2022\-09\-28 18:50:30\.686 \+03:00 \[INF\] 9/10 \- AngularUiGenerateWithSchematicsCommand completed\. \| Duration: 15091 ms\.\
Showing 1 to 4 of 4 entries
Made with ❤️ on ABP v8.3.0-preview Updated on July 05, 2024, 15:13