braintree / braintree_php_example

An example Braintree integration for PHP
MIT License
127 stars 94 forks source link

Drop-In ui: How to pre-select a payment method based on a vaulted payment method token? #51

Closed rparsi-boxycharm closed 4 years ago

rparsi-boxycharm commented 4 years ago

General information

I've read through and researched this topic in depth without finding a clear answer in braintree official docs or elsewhere.

The scenario is as follows: Before the braintree PayPalCheckout js component is loaded, in our system we already have a saved vaulted payment method token. When the Drop-In ui loads, after customer logs into their PayPal account we want the payment method associated with the saved token to be already selected.

How to do this? Any help would be greatly appreciated.

rparsi-boxycharm commented 4 years ago

@crookedneighbor Hi, do you happen to work for Braintree? Do you know how to implement the above described behavior (make a specific payment pre-selected in Drop-In ui based on vaulted payment token)?

hollabaq86 commented 4 years ago

👋 @rparsi-boxycharm, please contact Support for assistance. GH issues are for bugs within this sample integration only.