Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-486

Salesforce-Should add the authorization in header for Cart/Checkout endpoint

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1.  Run the rest endpoint of cart/checkout on postman [Salesforce Commerce] Ecommerce-Endpoint.postman_collection.json
      2.  Check all methods in SalesforceCartProvider and 
      3. Check and need to add the authorization to header in all methods of SalesforceCartProvider.java and SalesforceCheckoutProvider.java 

      Expected results

      Run the rest endpoint of cart/checkout on postman successfully.

      Actual results

      + Miss the authorization in header of getByCartId method in SalesforceCartProvider.java

      + Miss the authorization in header of all methods in SalesforceCheckoutProvider.java 

      Workaround

      Development notes

      + Maybe add the authorization in header like line 134 and 135 in below image:

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                thuy.to Thuy To
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD