All threads / Update next_billing_date in Rails App with Braintree

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Update next_billing_date in Rails App with Braintree

Lee Terng Gio asked in Rails

Hi, I recently developed a Rails app using Braintree Recurring, when the user subscribes, the information such as plan_name, next_billing_date ware saved into the database. However, I found the next_billing_date was not update if the current billing period was finished and the latest next_billing_date was changed. How do I retrieve the next_billing_date from Braintree and update in my database automatically?

Join the discussion

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

Join 34,885+ 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.