All threads / Integrating Braintree (and PayPal) Discussion

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Integrating Braintree (and PayPal) Discussion

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.

Reply

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.

Reply

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.

Reply

Chris,

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.

Reply
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,665+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.