Skip to main content

Integrating Braintree (and PayPal) Discussion

General • Asked by Chris Oliver

Chris, I would be interested in the cancellation and modification of cards setup if you have time. Thanks!

You got it Josh! I just added Braintree to the GoRails checkout process so I can make a screencast showing those steps for you as well.

Hi Chris, How can I show a booking summary after the form selection and then the option to pay using braintree new card or an existing card?

You can definitely do that. What I would do is store the card on the user account after they pay the first time, and then the second time put in the existing card above the form and use JS to hide the Braintree form. This will let you use their existing card or toggle the Braintree form to use a different one.

I'd like to see the subscription cancel and update card functionality and also display billing/subscription info to the user. Hope you'll make a new complete course for Rails Braintree just like the the course you did for the Rails Stripe.


This is my first time implementing braintree and just curious, if a customer is coming up on their second billing cycle and their credit card on file declines will that customer account being inactive or as I should say would the user braintree_subscription_id delete from the system?

Usually there are 3 or 4 automatic retries on the card, and then the subscription is automatically cancelled. You'll get a webhook from Braintree for the cancellation so you can update mark the user as cancelled in your app.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.