Hi,
I've just cloned the php sdk from git and run 'composer update', but when I try the following command:
php PaymentTransactions/charge-credit-card.php
I get the folling error message:
PHP Fatal error: Declaration of JMS\Serializer\JsonDeserializationVisitor::startVisitingObject(JMS\Serializer\Metadata\ClassMetadata $metadata, JMS\Serializer\object $object, array $type): void must be compatible with JMS\Serializer\Visitor\DeserializationVisitorInterface::startVisitingObject(JMS\Serializer\Metadata\ClassMetadata $metadata, JMS\Serializer\Visitor\object $data, array $type): void in authorize/vendor/jms/serializer/src/JsonDeserializationVisitor.php on line 14
php version is: 7.1.23
Any ideas ?
Thanks,
John
01-04-2019 06:20 PM
Hi,
Quick update, I've updated my version of PHP to 7.2 and it seems to have resolved the issue.
Regards,
John
01-04-2019 07:19 PM
Hi,
I update php version 7.1 to 7.2 and authorize .net version is 1.9.6 but I am facing the same issue. could anyone help.
Thanks
Gulfam
09-02-2019 03:35 AM
09-04-2019 05:54 AM
Hi,
My problem has been resolved by upgrading authorizenet version to 2.0
Thanks
Gulfam
09-05-2019 10:54 AM