Comments (8)
@xDae we've investigated a bit, but have not been able to reproduce this issue. If we could take a look at your drop-in create call or get access to a staging site, we could be a little more helpful. We'd also be interested in what beta version you were using before you updated to 1.0.0. Feel free to email us at [email protected] or through our support team if you rather not provide this information on public GitHub.
from braintree-web-drop-in.
I'm getting the same error in Beta 7. It was working fine in Beta 5. See attached screenshots.
from braintree-web-drop-in.
Please provide your create call or a staging site so we can inspect it.
from braintree-web-drop-in.
braintree.dropin.create({
authorization: '<?php echo Braintree_ClientToken::generate(["customerId" => $currentUser->ID]); ?>',
selector: '#dropin-container',
paypal: {
flow: 'vault',
}
}, function (err, dropinInstance) {
if (err) {
return;
} else {
jQuery(".braintree-option").first().click(function() {
jQuery("#submit-button").width(jQuery(".braintree-toggle span").width());
jQuery("#submit-button-container").css('visibility', 'visible');
});
jQuery("#submit-button-container").insertBefore(".braintree-toggle");
jQuery(".braintree-toggle span").addClass("bd-button button");
jQuery(".braintree-toggle").click(function() {
jQuery("#submit-button-container").css('visibility', 'hidden');
});
}
jQuery('#submit-button').click(function () {
dropinInstance.requestPaymentMethod(function (err, payload) {
if (err) {
return;
} else {
jQuery("#submit-button-container").css("visibility", "hidden");
var data = {
action: 'payment_options',
security: '<?php echo $ajax_nonce; ?>'
};
jQuery.post('<?php echo AJAX_URL; ?>', data, function(response) {
jQuery('#automatic_payments_method').html(response);
});
window.location.reload();
}
});
});
});
from braintree-web-drop-in.
I have not been able to reproduce the issue. Do either of you have staging sites we could view to reproduce it?
If you'd prefer not to post your staging site link on Github, feel free to email [email protected] and mention this issue.
from braintree-web-drop-in.
I just emailed you login info for a demo account on my site.
from braintree-web-drop-in.
@bkonia I've reviewed the ticket, and it looks like your PayPal sandbox credentials were not valid. Your credentials have been reset so you can re-enter them with the correct credentials.
@xDae I imagine the same is happening with your account.
I'm going to close this now, but feel free to comment or continue in the support email if you need further assistance.
from braintree-web-drop-in.
@crookedneighbor yes, we already fixed the problem 🤙🏻
from braintree-web-drop-in.
Related Issues (20)
- > "https://api-m.paypal.com" HOT 1
- hoISeoI373mTmmqZxBUwNIeIGfEB4JQH5kNWfVB6tWxeiIUkTkw0EnHdwBJWRBOy HOT 1
- [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. HOT 2
- Apple Pay svg size iPhone 15 series / macOS Sonoma HOT 1
- updated CSP configuration HOT 4
- DropUI Fails to render with ApplePay on newer iPhones HOT 3
- Apple Pay UI goes disappears in a second HOT 1
- data-collector.min.js doesn't loaded HOT 3
- Display new card input form automatically when drop-in is initialized with customerId HOT 1
- Email from Braintree re Updates to required 3D Secure data fields HOT 12
- Initial render events randomly triggered HOT 1
- AuthenticationInsight seem not supported and impossible HOT 1
- Device Data is never returned HOT 2
- threeDSecure - Always Errors HOT 1
- REACT : instance.updateConfiguration() not updating the instance when using dropinInstance as a MutableRefObject
- CardholerName prefill HOT 2
- Release with updated braintree-web? HOT 1
- Pay Later
- Duplicate iframe elements
- 400 status code is returned from analytics API
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-drop-in.