Spryker-eco/payone 1.3.0 error with TransferObject


#1

Hi,

I get an error using version 1.3.0 for spryker-eco/payone:

Zed.CRITICAL: Error - Class 'Generated\Shared\Transfer\PayonePaymentOnlineTransferTransfer' not found in "/var/www/spryker/releases/current/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Transfer/AbstractTransfer.php::247" {"exception":"[object] (Error(code: 0): Class 'Generated\\Shared\\Transfer\\PayonePaymentOnlineTransferTransfer' not found at /var/www/spryker/releases/current/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Transfer/AbstractTransfer.php:247)

The error comes becuase in the new version in payone.transfer.xml in the “Payment” node the types are changed

    <transfer name="Payment">
    <property name="payone" type="PayonePayment"/>
    <property name="payoneCreditCard" type="PayonePaymentCreditCard"/>
    <property name="payoneDirectDebit" type="PayonePaymentDirectDebit"/>
    <property name="payoneOnlineTransfer" type="PayonePaymentOnlineTransfer"/>
    .......................

The Type PayonePaymentOnlineTransfer does not exist, as i saw above the transfer name remained “PayonePaymentOnlinetransfer” ()

Best Regards,
Jozsef


#2

Hi Jozsef!

That problem was fixed in version 1.3.1. Try it.

Best Regards,
Aleksey Kotsuba.