Current dev version does not work for importing orders.

Created on 20 February 2024, 9 months ago
Updated 7 March 2024, 9 months ago

Problem/Motivation

When updating dev to the most recent in order to test other issues orders no longer import.
If I am on commit 7b3e6dbc and I apply 3405341 then the imports still work:
That implies one of these two changes broke the most recent dev.


https://git.drupalcode.org/project/commerce_shipstation/-/merge_requests...

I think it might be the access check added in MR 14 since if I am logged in I can see the orders, but anonymously I cannot.

Steps to reproduce

Install the current de

  • v version.
  • Configure the module and a custom connection in shipstation.
  • Create an order.
  • Pull orders in from shipstation (no orders will import)
  • Visit the Drupal logs
  • Get the shipstation request (includes all necessary parameters)
  • Visit that url authenticated (You will see the orders)
  • Visit that url as an anonymous user (You will see no orders or get a 403)

Proposed resolution

Set accessCheck to FALSE.
The anonymous user needs to be able to see the orders.
This module and shipstation use a separate authentication method to prevent unauthorized access.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024