How to use Stripe Checkout in Rails Discussion
Hi Chris! Thank you for the super timely tutorial! Everything work fine and I have only one question:
How do I add a trial period to a subscription checkout request?
current_user.processor = :stripe
@checkout_session = current_user.payment_processor.checkout(
-> TRIAL PARAMETER GOES HERE
Is there a way to do this somehow?
After webhooks have updated the Pay::Charge model, how do i check if payment was successful. Is this state saved in billable model ?
Way to go on an awesome gem. It was super easy to get it all set up!!
How do you add multiple line_items to your checkout?
It would be nice to see an example of an online shop too. 😀