-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Callback when saved credit cards have been refreshed #540
Comments
Hey @pawelchmara, thanks for opening this issue and sorry for the delayed response. I plan to take a look at this today and I'll get back to you. |
Hey @gesa, maybe have you already looked at this problem? |
I'm so sorry @pawelchmara, I totally flaked on you. Not cool of me. So the For your first concern, regarding changes made to the credit card list, I'm not entirely certain I understand what method's callback you'd expect to be firing in that scenario. Is there a reason the event handlers don't fulfill your needs? On a similar note, what's the situation where I fired up a local server and played around with these behaviors to see if I was missing some obvious piece of functionality that wouldn't occur to me when looking at it from the braintree side but I got nothin. |
Maybe I will try explain what I need. Please look at the screen below: I use Drop In like a vault manager and would like to add possibility to customer to select default credit card. So I need clear information that new card has been added or removed to refresh select options. When you remove credit card, I need this information to refresh select options. Of course, I can refresh select options every time when As for the |
You bring up good points @pawelchmara! We're discussing the best way improve on this and will follow up on this issue. |
@pawelchmara It's easy to add it to Drop-in, but we'd also need to update the API to allow authorizing that change from the client. In addition, there would need to be some design exploration to figure out the best UI for how it is presented. Not impossible to do, and in my opinion, the right solution for what you describe that you need out of Drop-in, just want to note that it's not as simple as it looks at first glance. |
General information
Issue description
When Drop-in is in management mode (vaultManager: true) and new card has been added or removed, there is no callback information that list of credit cards have been refreshed. Also function clearSelectedPaymentMethod() has no callback parameter.
The text was updated successfully, but these errors were encountered: