GithubHelp home page GithubHelp logo

Comments (8)

lilaconlee avatar lilaconlee commented on August 19, 2024

@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.

bkonia avatar bkonia commented on August 19, 2024

I'm getting the same error in Beta 7. It was working fine in Beta 5. See attached screenshots.

dfa0b211-4296-47e6-a5a8-4c16b61f672b
image

from braintree-web-drop-in.

crookedneighbor avatar crookedneighbor commented on August 19, 2024

Please provide your create call or a staging site so we can inspect it.

from braintree-web-drop-in.

bkonia avatar bkonia commented on August 19, 2024
        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.

crookedneighbor avatar crookedneighbor commented on August 19, 2024

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.

bkonia avatar bkonia commented on August 19, 2024

I just emailed you login info for a demo account on my site.

from braintree-web-drop-in.

crookedneighbor avatar crookedneighbor commented on August 19, 2024

@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.

xDae avatar xDae commented on August 19, 2024

@crookedneighbor yes, we already fixed the problem 🤙🏻

from braintree-web-drop-in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.