Skip to content

Order history: Allow user to see the full order request #96

@AshleyRedman

Description

@AshleyRedman

Within the order history tab of the plugin options, for each order, the user should be able to toggle to see the full API request sent to Clothes2Order.

Involves:

  • Storing the full API request in the database, currently we do not save the full request, only produce a new request & send it, then mark the order as processed.
  • Adding a this field regardless of the response from C2O, even if the request fails, we still store it as this feature is mostly useful for debugging.
  • Including new UI that will allow this toggle.

Discussed in #95

Originally posted by adamcook102 December 5, 2022
Hi,

Is there somewhere to see the request response sent to Clothes 2 order? I set a product embroidery to 10cm but they have said it has been sent as 1cm. It would be good to be able to check the request sent to debug.

Also my image optimiser (shrinking) plugin may be impacting the upload so would be good to see what image was sent so I can somehow make sure its the full sized image sent.

Thanks in advance :)

Metadata

Metadata

Assignees

Labels

api-requestInvolves the API request(s) to C2OenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions