Cannot use v5/Smart Payment Buttons with popup bridge
See original GitHub issueDescription
We’re trying to setup the smart payment buttons together with the braintree PopupBridge and we’re getting an empty returnUrl
back instead of the native redirectUri
from reconstructReturnUrl
(redirects.js
). This is because if(!url)
below is true (url is ''
).
This causes our popup bridge to never be called with a deep link but instead the page will just reload itself inside the “popup” (safari window).
Isn’t the usage of the smart payment buttons together with the popup bridge supported?
(Braintree checkout is not an option since we don’t control the back end, and checkout.js v4 doesn’t seem to work for us either since the callback from the popup bridge doesn’t provide the order ID back. We need it though for the authorization.)
Steps to reproduce
- Setup the popup-bridge-ios and load the smart payment buttons in the corresponding webview
- Run the application and click the PayPal button
- Enter credentials and checkout
- Observe how the page reloads the last checkout step instead of returning to the popup bridge
Affected browsers
- Chrome
- Safari
- Firefox
- Edge
- IE
- Chrome Mobile/Tablet
- Safari Mobile/Tablet
- Web View / Safari ViewController
- Other (PopupBridge)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Implementing High Availability Clustering Multi-Processing ...
This edition applies to Version 5, Release 3, of IBM High Availability Cluster Multi-Processing. (product number 5765-F62). Note: Before using this information ...
Read more >Untitled
#2015 Nimish recipe, Operazione meningioma al cervello, Used hunting tripod stands, ... Mil-rite, Men's basketball clothing, Nipsco bill pay phone number, ...
Read more >Untitled
Pro bowl 2014 players pay, Vilu ambu video song, Condensador 104, ... Madachy, Requested resource is in use, Mercy home health care dubuque...
Read more >Untitled
Vehicle history using vin, Col maiale addosso durelli, Buonanotte tesoro mio, ... 14 gauge 7 16 belly button ring, Emisora candela estereo en...
Read more >Report of Contracting Activity - ocp - DC.gov
This PO is established for payment purposes. ... Popup 3x3 notes 18pk ... of instant hot and chilled water at the touch of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this as the fix appeared to work for https://github.com/paypal/paypal-checkout-components/issues/1293 – please let me know if you see any issues. Thanks again.
OK, just as suspected. I have a fix I can try out tomorrow. Will let you know. Thanks!