gopay-php-api icon indicating copy to clipboard operation
gopay-php-api copied to clipboard

Fix: Add JSON_UNESCAPED_UNICODE flag when encoding requests

Open vikijel opened this issue 3 months ago • 2 comments

Fixes #69

Prevents 403 api response due to escaped unicode chars inside the request json - by not escaping them (by adding JSON_UNESCAPED_UNICODE flag to json_encode)

Test adjusted for CZ diacritics and some special characters (we had issue with simple brackets in product names)

vikijel avatar Sep 05 '25 21:09 vikijel