vippsas / vipps-recurring-woocommerce

Vipps Recurring payments for WooCommerce
GNU Affero General Public License v3.0
6 stars 4 forks source link

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

Open kimmenbert opened 6 months ago

kimmenbert commented 6 months ago

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 commented 6 months ago

Hi,

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

Marcuzz commented 5 months ago

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