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

Fatal error when using test credentials when test mode is disabled #91

Open
kimmenbert opened this issue Apr 29, 2024 · 2 comments
Open
Assignees
Labels
working on This issue is being worked on as we speak

Comments

@kimmenbert
Copy link

If you define( 'WC_VIPPS_RECURRING_TEST_MODE', true ); while developing, and remove this definition before changing credentials to production a fatal error occurs.

Fatal error: Uncaught WC_Vipps_Recurring_Exception: Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription

Please provide both test and production credential fields to make it possible to switch from prod to test easily.

@Marcuzz Marcuzz added the working on This issue is being worked on as we speak label Apr 29, 2024
@Marcuzz
Copy link
Collaborator

Marcuzz commented Apr 29, 2024

Hi,

We will definitely implement this in a future version. I've put it on my shortlist, and it will be done soon.

@Marcuzz
Copy link
Collaborator

Marcuzz commented May 7, 2024

Update: I will add this after feat/checkout is merged. I have reworked the settings page in that branch already 😄

@Marcuzz Marcuzz self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working on This issue is being worked on as we speak
Projects
None yet
Development

No branches or pull requests

2 participants