[2020-09-30 12:50:35] main.CRITICAL: The option "transaction_id" with value null is expected to be of type "string" or "int" or "Altapay\Response\Embeds\Transaction", but is of type "NULL". {"exception":"[object] (Symfony\Component\OptionsResolver\Exception\InvalidOptionsException(code: 0): The option \"transaction_id\" with value null is expected to be of type \"string\" or \"int\" or \"Altapay\Response\Embeds\Transaction\", but is of type \"NULL\". at /opt/vaimo/deploy/x9240/2020-09-22_12-09-46/htdocs/vendor/symfony/options-resolver/OptionsResolver.php:764)"} []
Steps to reproduce:
Edit the order (which has been paid by Altapay credit card) in admin panel. E.g. remove one of purchased items
Original order gets canceled. Newly created order is pending and paid by Altapay credit card.
Try to edit this newly created order. See logs.
The order from step2 still has Altapay credit card as payment method but no transaction_id obviously.
Magento2.2 community.
Module version in composer: "altapay/magento2-payment": "0.13.0"
tail -f exception.log
[2020-09-30 12:50:35] main.CRITICAL: The option "transaction_id" with value null is expected to be of type "string" or "int" or "Altapay\Response\Embeds\Transaction", but is of type "NULL". {"exception":"[object] (Symfony\Component\OptionsResolver\Exception\InvalidOptionsException(code: 0): The option \"transaction_id\" with value null is expected to be of type \"string\" or \"int\" or \"Altapay\Response\Embeds\Transaction\", but is of type \"NULL\". at /opt/vaimo/deploy/x9240/2020-09-22_12-09-46/htdocs/vendor/symfony/options-resolver/OptionsResolver.php:764)"} []
Steps to reproduce:
The order from step2 still has Altapay credit card as payment method but no transaction_id obviously.
Magento2.2 community. Module version in composer: "altapay/magento2-payment": "0.13.0"