Open dan-bejan opened 5 hours ago
Hi @dan-bejan, thanks for reporting this. we’re actively looking into it and will keep you updated.
Hi @dan-bejan, this is fixed in chargebee-php v3.35.1.
Could you try it and let us know if it still doesn’t work?
hi @cb-alish I've tried v3.35.1 in my local environment against our test site and have not ran into the same issues as before. Thank you for the fix
Description of the Bug
util array serialization doesn't properly support nested arrays this is due to the
$k == 'metadata'
check introduced in 3.34 Should be$k === 'metadata'
Steps to reproduce
pass to \ChargeBee\ChargeBee\Util::serialize
notice the output is
Expected Behavior
output should be
Code Snippets (if applicable)
No response
Operating System
macOS
Language version
PHP 7.2
Library version
3.35
Additional context
No response