You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.
The issue is that you can't create a Subscription in Stripe if the Customer doesn't have a card (payment source) registered.
It works fine if you have set a trial period but if you wish for your customers to pay immediately on registration you'll need to build a payment form into your registration process.
Hi guys,
Stripe.net: 2.9.0.0
On register process we got an error from the backend. This caused because we need to attach a credit card to the customer when creating it on Stripe.
public async Task CreateCustomerAsync(RevolustoreUser user, string planId = null, DateTime? trialEnd = null, string cardToken = null)
{
var customer = new StripeCustomerCreateOptions
{
AccountBalance = 0,
Email = user.Email
};
The exception throw when we call _customerService.Create(customer).
Any answer.
The text was updated successfully, but these errors were encountered: