• Resolved rizbanr

    (@rizbanr)


    I am using a plugin that natively runs on the WooCommerce Subscriptions plugin and am trying to integrate it with the subscription service built into this plugin. I have the actions and hooks from that plugin but am having trouble finding the necessary calls within Braintree For WooCommerce to make the two work together. Is there documentation somewhere on what hooks/actions are used for the Braintree subscriptions that I can hook onto to make this work?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @rizbanr,

    If you are already using WC Subscriptions then I don’t recommend that you try and use our plugin’s subscription functionality in tandem. Stick with the functionality provided in WCS and it will make things easier.

    Thanks,

    Thread Starter rizbanr

    (@rizbanr)

    I’m not currently using WC Subs. I have a 3rd plugin that relies on it and wanted to have it run on this plugin instead of SC Subs.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @rizbanr,

    Thank you for clarifying how you wanted to use the subscription functionality. We are currently working on a plugin wiki page that will contain in depth documentation on all the hooks and filters used in the plugin.

    That will be available in the coming weeks when we release version 3.0.0 of the plugin.

    Thanks,

    Thread Starter rizbanr

    (@rizbanr)

    I’m looking forward to it. This is a nice plugin, but it definitely needs better documentation.

    Plugin Author Clayton R

    (@mrclayton)

    Hi @rizbanr,

    If you like you can contact us at our support line and we can set you up to provide feedback on our documentation as it progresses.

    Hopefully when it’s released you will change that 4 star to a 5 star 😉

    Thanks,

    Thread Starter rizbanr

    (@rizbanr)

    I figured out the issues I was having here. The Order ID and the Subscription ID are not the same, but WooCommerce is expecting them to be the same when it attempts to cancel a subscription or otherwise modify it. I included a bit of code that looks up the actual subscription ID and forces it to use that instead of the order ID. This has resolved all of the issues I was having entirely.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Subscription Integration’ is closed to new replies.