• I’m the author of WooCommerce Name Your Price. In Oct 2018 I was able to establish compatibility between NYP and Braintree subscriptions by declaring NYP support for your custom product types.

    Our mutual customer has come back to inform me that the custom price is now showing as $0 in the cart. It appears that you’ve gotten stricter on your end about setting the price in the cart and NYP is no longer able to override the price like it did before.

    But I was able to track down a solution and wrote a small bridge plugin that I’m posting here for reference.

    https://gist.github.com/helgatheviking/62f1cc61462594aabc059e104d167c7a

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @helgatheviking,

    Thanks for reaching out and providing that bridge plugin. I am not sure how you were updating the price before, but you’re right that we have changed some of that functionality.

    Here is a link to our detailed API docs which show all filters etc we offer.

    Plugin API Docs

    If you want to discuss further, please feel free to reach out to us via our support email.

    Kind Regards,

    Thread Starter HelgaTheViking

    (@helgatheviking)

    Sorry, should have clarified that Name Your Price’s native price manipulation was working automatically before. This time I had to add the 3rd function in the gist that explicitly sets the subscription price property.

    I’m good to go now I think, just wanted to share this in case anyone else needed it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce Name Your Price compatibility (solution provided)’ is closed to new replies.