Hello, I’m using braintree plugin to process payments, so far the subscription process works good. How can I set certain conditions based on webhooks? Like when user cancels subscription or I want to set a certain button conditionally have certain text when user is on a specific plan.
To sum my questions:
- How do I retrieve current user’s plan?
- Why is there no name field to verify creditcard with the name on the card?