schmittjoh/JMSPaymentCoreBundle — Issue #11: Wrong state of Payment after approveAndDeposit
Author: phiamo
Created: 2011-11-10 16:00:18+00:00
State: open

Hi,
i am using approveAndDeposit, and it works like a charm except for the payment status afterwards.

Money is beeing approved and deposited but state is STATE_APPROVED

i think thats due to
https://github.com/schmittjoh/JMSPaymentCoreBundle/blob/master/PluginController/PluginController.php#L331

musnt that be STATE_DEPOSITED?

as far as i understood state transition is to APPROVED after approving and DEPOSITED after succ depositing or?
since its done in one flow with approveAndDeposit i would assume to have state DEPOSITED afterwards ?

cheers phil