contributte / thepay-api

:dollar: Port of ThePay library

Home Page:https://contributte.org/packages/contributte/thepay-api.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

declare(strict_types = 1) problem

Triplkrypl opened this issue · comments

I found error in version 4.0.0 caused by strict_types.

Method Tp\Helper\Merchant::buildQuery throw error becouse rawurlencode expects string, integer is given in library.
Integer value comes from method: Tp\Payment::getArgs where into mixed array are puted merchantId and accountId from Tp\MerchantConfig where this values are integers.

Hi, thank you for your report. Can you try it with v4.0.1?

hi, i tested it and it is work ;-)

Thank you for your cooperation 👍