Is this questions section build with ANZ and is it perhaps available for us at github?
Thanks in advance, Rene van Woezik
ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0
When creating a new paid edition i want to have only a montly or yearly subscription Edition Management
But i can't save the new edition without filling in daily and weekly price
Found it!
According to the log: Stripe.StripeException: Received event with API version 2019-11-05, but Stripe.net 39.23.0 expects API version 2020-08-27.
Updated Stripe API now it works!
Hi @Ismcagdag,
I have changed the endpoint to my Api's URL:
https://fitpeopleusa-server.azurewebsites.net/Stripe/WebHooks
Now i'm getting a HTTP status code 302
I'm using stripe in test mode.
My Angular Application is published to Azure Storage
This is my log on Azure:
ERROR 2021-06-01 09:05:07,956 [69 ] tPeople.Web.Controllers.StripeController - 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 FP.FitPeople.Web.Controllers.StripeControllerBase.WebHooks() in D:\Source\Repos\FP-FitPeopleUSA\src\FP.FitPeople.Web.Core\Controllers\StripeControllerBase.cs:line 38
When testing stripe webhooks I get the following error in Stripe: 405 (Method Not Allowed) UnsupportedHttpVerb
In stripe i have created an Endpoint to my angular client: https://fitpeopleusa.azureedge.net/Stripe/WebHooks
In my Appsettings.json i have created the required keys
ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0
Hi, I need the functionality to have a subscription per user instead of per tenant.
Can you point me in the right direction, architect wise, to create such a functionality?
ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0
The paginator of the Metronics Theme looks like this: Metronics sample
The paginator component from PrimeNG in aspnetzero.com looks like this:
So is there a css hero who can help me? Should i add a .less file?
Thnx!
ASP.NET CORE & Angular (single solution) .NET 5.0 v10.2.0
I have added a pipe: 'vimeo-url.pipe.ts' in the folder Web.Host\src\shared\common\pipes
import { Injector, Pipe, PipeTransform } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';
@Pipe({
name: 'vimeoUrl'
})
export class VimeoUrlPipe implements PipeTransform {
_sanitizer: DomSanitizer;
constructor(injector: Injector) {
this._sanitizer = injector.get(DomSanitizer);
}
transform(value: any, args?: any): any {
let url = value.replace("vimeo.com/", "player.vimeo.com/video/");
return this._sanitizer.bypassSecurityTrustResourceUrl(url);
}
}
In the utils.module.ts i'm importing this pipe:
import { VimeoUrlPipe } from '@shared/common/pipes/vimeo-url.pipe';
I've add it to the declarations in utils.module.ts and also to the exports
The admin-shared.module.ts imports the utils.module.ts And my courses.module.ts imports the admin-shared.module.ts
When running i get the error "No pipe found with the name 'vimeoUrl'
What am i missing? What is the correct way to add a new pipe?
Thanks in advance