Closed rikkipitt closed 5 years ago
Hi folks,
Has anyone got the trials working with respect to subscriptions? I get the following error in the payola_subscriptions table:
stripeToken required for new customer with paid subscription
Essentially, if the plan is set to an amount > 0 and the trial_end is set in the future, the subscription fails.
amount
trial_end
References #144 and #145.
Potential logic issue here doesn't seem to account for trial: https://github.com/payolapayments/payola/blob/7d9cfdc744cb1472a569675174a3bf2a8dcae2ba/app/services/payola/start_subscription.rb#L87-L89
Hi folks,
Has anyone got the trials working with respect to subscriptions? I get the following error in the payola_subscriptions table:
Essentially, if the plan is set to an
amount
> 0 and thetrial_end
is set in the future, the subscription fails.References #144 and #145.
Potential logic issue here doesn't seem to account for trial: https://github.com/payolapayments/payola/blob/7d9cfdc744cb1472a569675174a3bf2a8dcae2ba/app/services/payola/start_subscription.rb#L87-L89