These are chat archives for Payum/Payum

25th
May 2017
Matthias Breddin
@lunetics
May 25 2017 21:45

couldn't i just give the order (when it implements the arrayobject)?

sure you could. The Payum's default format is an object that implements \ArrayAccess

Other models are converted to it in one or another way.

because the BasePayment does not implement \ArrayAccess...
shouldn't payum/payum/src/Payum/Core/Model/Payment.php extend Payum\Core\Model\ArrayObject ?
Matthias Breddin
@lunetics
May 25 2017 21:54
or am i missing the distincten between Payment and PaymentDetails (model)?
Matthias Breddin
@lunetics
May 25 2017 21:59
what's the real difference?
therefore shouldn't work?
Matthias Breddin
@lunetics
May 25 2017 22:23
or am i missin the convertPayment stuff?
Matthias Breddin
@lunetics
May 25 2017 22:34
i'm really confused now
Matthias Breddin
@lunetics
May 25 2017 22:39
in some step on Payum\Core\Action\CapturePaymentAction::supports() on $request->getModel() it returns the Payum\Core\Model\Identity model... where it should return the Model with the PaymentInterface... because using filesystem storage?
Matthias Breddin
@lunetics
May 25 2017 23:57
damn. found the issue. i'm dumb
Payum/PayumBundle#372
usedthe gateway_factory, not the builder