Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Naveed Ali 161 posts 426 karma points
    May 05, 2020 @ 15:31
    Naveed Ali
    0

    paypal not working on live!

    I have just hosted a website and am testing out the live paypal flow.

    I have found that the paypal for live is actually broken: enter image description here

    enter image description here

    can anybody please shed some light on this. I have tried searching for these files in git etc and finding a solution online but nothing.

    This has now blocked releasing the whole site so if somebody can please help

    Thanks

  • Naveed Ali 161 posts 426 karma points
    May 05, 2020 @ 15:54
    Naveed Ali
    0

    can somebody show me there package.manifest file under app_plugins/Merchellp.Paypal

    This is the files with the error the code in there looks wrong But i do not know where to start with it

    enter image description here

  • Naveed Ali 161 posts 426 karma points
    May 05, 2020 @ 17:00
    Naveed Ali
    100

    I have got rid of the controller error by updating the merchello.module.js file to be:

    // Bootstrap the Merchello angular module
    (function() {
        angular.module('merchello', [
            'umbraco.filters',
            'umbraco.directives',
            'umbraco.services',
            'merchello.filters',
            'merchello.directives',
            'merchello.plugins',
            'merchello.resources',
            'merchello.services',
            'ngStorage'
        ]).config(['$sessionStorageProvider','$localStorageProvider',
            function ($sessionStorageProvider, $localStorageProvider) {
                $sessionStorageProvider.setKeyPrefix('merchello-');
                $localStorageProvider.setKeyPrefix('merchello-');
            }]);
    
        angular.module('merchello.models', []);
        angular.module('merchello.filters', []);
        angular.module('merchello.directives', []);
        angular.module('merchello.resources', ['merchello.models']);
        angular.module('merchello.services', ['merchello.models']);
        angular.module('merchello.plugins', ['chart.js']);
        //// Inject our dependencies
        angular.module('umbraco.packages').requires.push('merchello');
    
    }());
    
    (function (merchello, undefined) {
    
        // Global namespaces defined
        merchello.Models = {};
        merchello.Controllers = {};
        merchello.Directives = {};
        merchello.Filters = {};
        merchello.Services = {};
        merchello.Helpers = {};
    
    }(window.merchello = window.merchello || {}));
    

    But when I am going through the checkout process and select paypal one time transaction the button still goes to the sandbox url. I have selected live in the backend and added the live api credentials

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies