1

I want to create Recurring Payments/Subscriptions on behalf of my Users by using their Braintree accounts and update the status in my application on each payment but so far I have found that there are certain limitations to it.

  1. Plan should be created manually from Control Panel of Braintree to be used in Subscriptions.
  2. Webhooks can only be created through Control Panel and user have to select the events for Webhook.

I am creating a kind of Marketplace solution for different vendors so this kind of thing requires Plans/Subscriptions and Webhooks to be handled completely through API.

Can anyone please help me with some idea or trick to achieve this thing?

Umair Malhi
  • 565
  • 1
  • 5
  • 16

1 Answers1

1

Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.

You are correct, you must create a plan via the Control Panel. However, all subscriptions can be created for that plan via the API. You can also override the plan details via the API.

In order for Braintree to know where to send the webhook, you do need to register the URL via the Control Panel. When you go to register the URL, you can select the type of webhook for which you wish to trigger the webhook.

After this initial setup, everything else can be handled via the API: you can parse the webhook to be able to grab the associated subscriptions.

C Joseph
  • 503
  • 3
  • 6
  • Thanks for the details. I wish there had been such options available though as for a Marketplace it's better to provide as smooth an experience as possible to Vendors. Just one thing, Is there only monthly subscription available in Braintree? – Umair Malhi May 24 '17 at 05:32
  • 1
    Thank you for your feedback-- These questions would be great for our support team; however, there are only monthly subscriptions available. – C Joseph May 24 '17 at 14:01