Comments (3)
Hey @robrichard, I know there's a way to do this on iOS and Android. Let me dig in and see if it's possible on web. Worst case scenario, could you keep the button somewhere hidden in the DOM and manually trigger a click event on it when your custom button is pressed?
from braintree-web.
I was considering that but wanted to make sure there isn't a cleaner solution.
from braintree-web.
Ok so I have some bad news, due to the way popup blockers work (click events can't be fabricated), the hacky approach won't work. It looks like there's no easy way to use the PayPal pop-up without using the PayPal button 😕
from braintree-web.
Related Issues (20)
- Safari don't show Google Pay button from time to time HOT 2
- TypeError: undefined is not an object (evaluating 'braintree_web__WEBPACK_IMPORTED_MODULE_12__.ApplePaySession.canMakePayments') HOT 1
- threeDSecure cardinal-sdk-setup-timeout HOT 6
- No callback function for loadPayPalSDK method HOT 3
- threeDSecure flow stops if Init request to cardinal fails HOT 5
- Hosted fields assets 404. HOT 3
- Upgrading to 3.98.0 hosted fields HOT 5
- ApplePay within an iframe HOT 7
- Support for text-fill-color styling in autofill styles HOT 1
- patch_payment_resource returns generic 422 on second request HOT 1
- Action required: Updates to required 3D Secure data fields HOT 1
- Request: Make commit messages meaningful HOT 1
- PayPal Button Integration not working on Production environment HOT 1
- Request: Include 3DS error codes in verifyPayload HOT 2
- Postal code validation does not work HOT 1
- Refused to display 'https://www.sandbox.paypal.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'." HOT 2
- Changes to Visa 3DS Data Requirements HOT 2
- Property 'updatePayment' does not exist on type 'PayPalCheckout' (braintree-web version: 3.102.0) HOT 1
- Local Payment Method (iDeal) Popups are blocked by Safari HOT 1
- PaymentDataRequest allowedCountryCodes not taking effect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintree-web.