Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to connect to a dummy API to perform tests #761

Open
gerben86 opened this issue Apr 3, 2023 · 0 comments
Open

Make it possible to connect to a dummy API to perform tests #761

gerben86 opened this issue Apr 3, 2023 · 0 comments

Comments

@gerben86
Copy link
Contributor

gerben86 commented Apr 3, 2023

What problem does this feature solve?

Make it possible to connect to a test-api, so we can do test-shipments etc.
Especially with debugging issues where MyParcel and another plugin/extension are interfering each other it could be easy to have some fake replies from an endpoint but also to do the order-status-changes without creating real shipments in MyParcel.

Thinking aloud:
It would even be nicer if there would be 'static' replies, based on the postalcode.
By examle:
5500AA -> returns a 500 from the MyParcel-Test-API
4401AA -> returns a 401 from the MyParcel-Test-API
2200AA -> returns a 200 from the MyParcel-Test-API
etc.

What should the solution look like?

Just like the Mollie-plugin:

  • Switch between Live and Test
  • Store the Live and Test api-keys

image

Relevant log output

No response

Additional context

No response

@gerben86 gerben86 changed the title Make it possible to connec to a dummy API to perform tests Make it possible to connect to a dummy API to perform tests Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant