Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3260

Paypal is not processing payment

    Details

      Description

      Steps to reproduce:

      1. For convenience, create a site based on Minium
      2. Add Paypal payment method using these credentials
      3. Create a new valid product with an enabled Payment Subscription or enable it on an existing product(e.g. ABS Sensor)
      4. Enter the site based on Minium you created previously
      5. Add the product with the enabled subscription to cart
      6. Proceed to checkout
      7. Complete the order flow

      Expected Behavior:

      Order should be successfully processed

      Actual Behavior:

      You get the attached error on screen and the console log error of

      2020-03-20 19:17:11.658 WARN  [http-nio-8080-exec-10][code_jsp:162] {code="404", msg="", uri=/o/commerce-media/default/}
      2020-03-20 19:17:26.440 ERROR [http-nio-8080-exec-3][HttpConnection:153] Response code: 400	Error response: {"name":"ADDRESS_INVALID","message":"Address is invalid.","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","debug_id":"2174249ef4711"}
      2020-03-20 19:17:26.442 ERROR [http-nio-8080-exec-3][CommercePaymentServlet:167] response-code: 400	details: name: ADDRESS_INVALID	message: Address is invalid.	details: null	debug-id: 2174249ef4711	information-link: https://developer.paypal.com/docs/api/payments.billing-agreements#errors
      response-code: 400	details: name: ADDRESS_INVALID	message: Address is invalid.	details: null	debug-id: 2174249ef4711	information-link: https://developer.paypal.com/docs/api/payments.billing-agreements#errors
      	at com.paypal.base.rest.PayPalRESTException.createFromHttpErrorException(PayPalRESTException.java:72)
      

      Reproduced on
      Tomcat 9.0.17 + MySQL 5.7
      Portal 7.1.1 GIT ID: 6f5eb4979ec5734791b12a8b074e8dfad9bc6247

      Tomcat 9.0.17 + MySQL 5.7
      Portal 7.2.X GIT ID: 8be46947fac3b7ff81c721422836afcf998f54dd

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              riccardo.alberti Riccardo Alberti
              Reporter:
              michael.eguina Michael Eguina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.0