saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

Fixes infinite loop exhausting memory #178

Closed dpanta94 closed 2 years ago

dpanta94 commented 2 years ago

All Submissions:

Changes proposed in this Pull Request:

When checking for Gateway's availability, do not update plugin's validation flag. This flag is being updated while on the backend.

The issue came up from the way this flag was being updated.

How to test the changes in this Pull Request:

  1. Fresh install of amazon pay plugin shouldn't exhaust memory.

Other information:

Changelog entry

Fix - Infinite Loop causing Memory Exhaustion.