Payment methods not working in Magento 2.0Default payment methods are not showingPayPal IPN's not working...

Dilemma of explaining to interviewer that he is the reason for declining second interview

Difference between `vector<int> v;` and `vector<int> v = vector<int>();`

How to remove blank page before my new report chapter?

What's a good word to describe a public place that looks like it wouldn't be rough?

Why zero tolerance on nudity in space?

Porting Linux to another platform requirements

Strange Sign on Lab Door

My cat mixes up the floors in my building. How can I help him?

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

Explain the objections to these measures against human trafficking

Why did other German political parties disband so fast when Hitler was appointed chancellor?

Program that converts a number to a letter of the alphabet

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

How can my powered armor quickly replace its ceramic plates?

Word or phrase for showing great skill at something WITHOUT formal training in it

How do Chazal know that the descendants of a Mamzer may never marry into the general populace?

What is the lore-based reason that the Spectator has the Create Food and Water trait, instead of simply not requiring food and water?

Why do neural networks need so many training examples to perform?

Why avoid shared user accounts?

Is a debit card dangerous in my situation?

How to remove lines through the legend markers in ListPlot?

What are "industrial chops"?

Why did Luke use his left hand to shoot?

If I deleted a game I lost the disc for, can I reinstall it digitally?



Payment methods not working in Magento 2.0


Default payment methods are not showingPayPal IPN's not working correctly. Error 500?Which Payment Methods meets payment security standard?All payment methods return a “Payment method not available” errorCan not access payment methods tab in magento back officeOffline Payment methods did not work after setup:di:compilemagento 2 - No Payment MethodsPayment methods are not visible in backendCustom Payment Methods not showing on checkoutMagento 2: Checkout Success Page not loading if payment option is cash or wire transfer













2















On our website wijnmaat.nl we are trying to integrate the paypal, bank transfer and Ideal payment methods. We were able to get the bank transfer working but the Ideal and Paypal pay methods are giving us a 500 internal server error:



Problem: Paypal according Google Chrome console



PUT http://www.wijnmaat.nl/rest/netherlands/V1/carts/mine/selected-payment-method 500 (Internal server error)

Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Object.process (error-processor.js:19)
at Object.<anonymous> (set-payment-method.js:50)
at j (jquery-2.1.4.min.js:2)
at Object.fireWith [as rejectWith] (jquery-2.1.4.min.js:2)
at x (jquery-2.1.4.min.js:4)
at XMLHttpRequest.<anonymous> (jquery-2.1.4.min.js:4)process @ error processor.js:19 (anonymous) @ set-payment-method.js:50 j @ jquery-2.1.4.min.js:2 fireWith @ jquery-2.1.4.min.js:2 x @ jquery-2.1.4.min.js:4(anonymous) @ jquery-2.1.4.min.js:4









share|improve this question





























    2















    On our website wijnmaat.nl we are trying to integrate the paypal, bank transfer and Ideal payment methods. We were able to get the bank transfer working but the Ideal and Paypal pay methods are giving us a 500 internal server error:



    Problem: Paypal according Google Chrome console



    PUT http://www.wijnmaat.nl/rest/netherlands/V1/carts/mine/selected-payment-method 500 (Internal server error)

    Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.process (error-processor.js:19)
    at Object.<anonymous> (set-payment-method.js:50)
    at j (jquery-2.1.4.min.js:2)
    at Object.fireWith [as rejectWith] (jquery-2.1.4.min.js:2)
    at x (jquery-2.1.4.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-2.1.4.min.js:4)process @ error processor.js:19 (anonymous) @ set-payment-method.js:50 j @ jquery-2.1.4.min.js:2 fireWith @ jquery-2.1.4.min.js:2 x @ jquery-2.1.4.min.js:4(anonymous) @ jquery-2.1.4.min.js:4









    share|improve this question



























      2












      2








      2








      On our website wijnmaat.nl we are trying to integrate the paypal, bank transfer and Ideal payment methods. We were able to get the bank transfer working but the Ideal and Paypal pay methods are giving us a 500 internal server error:



      Problem: Paypal according Google Chrome console



      PUT http://www.wijnmaat.nl/rest/netherlands/V1/carts/mine/selected-payment-method 500 (Internal server error)

      Uncaught SyntaxError: Unexpected token < in JSON at position 0
      at JSON.parse (<anonymous>)
      at Object.process (error-processor.js:19)
      at Object.<anonymous> (set-payment-method.js:50)
      at j (jquery-2.1.4.min.js:2)
      at Object.fireWith [as rejectWith] (jquery-2.1.4.min.js:2)
      at x (jquery-2.1.4.min.js:4)
      at XMLHttpRequest.<anonymous> (jquery-2.1.4.min.js:4)process @ error processor.js:19 (anonymous) @ set-payment-method.js:50 j @ jquery-2.1.4.min.js:2 fireWith @ jquery-2.1.4.min.js:2 x @ jquery-2.1.4.min.js:4(anonymous) @ jquery-2.1.4.min.js:4









      share|improve this question
















      On our website wijnmaat.nl we are trying to integrate the paypal, bank transfer and Ideal payment methods. We were able to get the bank transfer working but the Ideal and Paypal pay methods are giving us a 500 internal server error:



      Problem: Paypal according Google Chrome console



      PUT http://www.wijnmaat.nl/rest/netherlands/V1/carts/mine/selected-payment-method 500 (Internal server error)

      Uncaught SyntaxError: Unexpected token < in JSON at position 0
      at JSON.parse (<anonymous>)
      at Object.process (error-processor.js:19)
      at Object.<anonymous> (set-payment-method.js:50)
      at j (jquery-2.1.4.min.js:2)
      at Object.fireWith [as rejectWith] (jquery-2.1.4.min.js:2)
      at x (jquery-2.1.4.min.js:4)
      at XMLHttpRequest.<anonymous> (jquery-2.1.4.min.js:4)process @ error processor.js:19 (anonymous) @ set-payment-method.js:50 j @ jquery-2.1.4.min.js:2 fireWith @ jquery-2.1.4.min.js:2 x @ jquery-2.1.4.min.js:4(anonymous) @ jquery-2.1.4.min.js:4






      magento2 paypal payment






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 23 mins ago









      Teja Bhagavan Kollepara

      2,96341847




      2,96341847










      asked Feb 18 '17 at 10:45









      Brent StevensBrent Stevens

      2612




      2612






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The 500 internal server error could be one of many, many issues. But it's usually a server configuration issue.



          I would first make sure that file permissions are set properly using the chmod command.



          Second, I'd ensure the correct ownership of the files. For example, if you're logged in via SSH as user xyz123 (and uploaded or edited files using this user), but the files need to run as www-data, then you'll want to use the chown command to change the ownership.



          Third, make sure you do a static content deploy, and clear all of the caches.



          I would try testing this out in both developer and production mode, to see if there is a difference in the errors.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f160616%2fpayment-methods-not-working-in-magento-2-0%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            The 500 internal server error could be one of many, many issues. But it's usually a server configuration issue.



            I would first make sure that file permissions are set properly using the chmod command.



            Second, I'd ensure the correct ownership of the files. For example, if you're logged in via SSH as user xyz123 (and uploaded or edited files using this user), but the files need to run as www-data, then you'll want to use the chown command to change the ownership.



            Third, make sure you do a static content deploy, and clear all of the caches.



            I would try testing this out in both developer and production mode, to see if there is a difference in the errors.






            share|improve this answer






























              0














              The 500 internal server error could be one of many, many issues. But it's usually a server configuration issue.



              I would first make sure that file permissions are set properly using the chmod command.



              Second, I'd ensure the correct ownership of the files. For example, if you're logged in via SSH as user xyz123 (and uploaded or edited files using this user), but the files need to run as www-data, then you'll want to use the chown command to change the ownership.



              Third, make sure you do a static content deploy, and clear all of the caches.



              I would try testing this out in both developer and production mode, to see if there is a difference in the errors.






              share|improve this answer




























                0












                0








                0







                The 500 internal server error could be one of many, many issues. But it's usually a server configuration issue.



                I would first make sure that file permissions are set properly using the chmod command.



                Second, I'd ensure the correct ownership of the files. For example, if you're logged in via SSH as user xyz123 (and uploaded or edited files using this user), but the files need to run as www-data, then you'll want to use the chown command to change the ownership.



                Third, make sure you do a static content deploy, and clear all of the caches.



                I would try testing this out in both developer and production mode, to see if there is a difference in the errors.






                share|improve this answer















                The 500 internal server error could be one of many, many issues. But it's usually a server configuration issue.



                I would first make sure that file permissions are set properly using the chmod command.



                Second, I'd ensure the correct ownership of the files. For example, if you're logged in via SSH as user xyz123 (and uploaded or edited files using this user), but the files need to run as www-data, then you'll want to use the chown command to change the ownership.



                Third, make sure you do a static content deploy, and clear all of the caches.



                I would try testing this out in both developer and production mode, to see if there is a difference in the errors.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 31 '18 at 4:21









                Teja Bhagavan Kollepara

                2,96341847




                2,96341847










                answered Feb 18 '17 at 20:19









                Jeff FinkelsteinJeff Finkelstein

                60537




                60537






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f160616%2fpayment-methods-not-working-in-magento-2-0%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                    How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                    夢乃愛華...