I followed your doc to do the implementation but getting the undefined method error.
use Payum\Core\Storage\FilesystemStorage;
use Payum\Paypal\ExpressCheckout\Nvp\PaypalExpressCheckoutGatewayFactory;
use Payum\Stripe\StripeJsGatewayFactory;
use Payum\OmnipayBridge\OmnipayGatewayFactory;
$paypalFactory = new PaypalExpressCheckoutGatewayFactory();
$omnipayFactory = new OmnipayGatewayFactory();
return array(
'payum' => array(
'token_storage' => new FilesystemStorage(
__DIR__.'/../../data/payment',
'App\Model\PaymentSecurityToken',
'hash'
),
'payments' => array(
'paypal_ec' => $paypalFactory->create(array(
'username' => 'xxx',
'password' => 'xxx',
'signature' => 'Axxx',
'sandbox' => true
)),
'stripe_via_omnipay' => $omnipayFactory->create([
'type' => 'Stripe',
'apiKey' => 'dfdfd',
'testMode' => true,
]),
),
'storages' => array(
'Matchmaker\Model\PaymentDetails' => new FilesystemStorage(
__DIR__.'/../../data/payment',
'App\Model\PaymentDetails',
'id'
)
),
),
);
if the payments is changed to gateways 'payum' could not be instantiated exception thrown.
I am not sure PayumModule is still working with your stable code. Can you take a look at doc and guide me to fix the issue.