* BugFix: Renewal failures do not properly save in order history
Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.
This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.
* BugFix: Renewal failures do not properly save in order history
Bugfixes found running regression tests of registering a domain (activate new order), followed by various sequences of renewing the domain order. Intentionally insert fatal exceptions in the renewal process demonstrated that you could renew a product and the order would update its length and status despite the underlying renewal action having failed. Additionally, renewal action failure reason was not getting captured and saved to the order history.
This corrects those behaviors to be in parity with what would happen on an activation failure. Also, minor javascript warning fixes when testing this workflow through the Stripe payment adapter.
Adds the option to use {{ lang.name }} in place of {{ lang.title}} to return only the country name without the associated ISO code.
i.e.
{{ lang.title }} = Deutsch (de_DE)
{{ lang.name }} = Deutsch
* API Wrapper: reformat malformed JSON data
Closes issue #654
* Improve docs
* Rename function
* See remark
* Add version number to src tag
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
Notes: getting EPP code is not supported through namecheap API. Changing nameserver settings seems broken atm: always confirms success even when the api call fails
* Move PHPStan to it's own action
* Bump PHPStan to level 1
* This fix it?
* Update Box_MailTest.php
* And fix a typo in the action
* Update phpstan.yml
* Update phpstan.yml
* Test