Open makasim opened 8 years ago
Buckaroo specifically has multiple gateways, so you need to do create the gateway like this:
Omnipay::create('Buckaroo_Ideal')
Also, you can only use Omnipay::create
on official omnipay gateways. It does not work for third party gateways, which a great many of the ones you listed are.
I want to get the list of supported gateways, using this list I can create a gateway later, when user choose one. But I cannot simply use getSupportedGateways
because it returns something which factory create method does not accept.
Given omnipay gateway type Buckaroo or class is not supported. Supported: AuthorizeNet_AIM, AuthorizeNet_SIM, Buckaroo, Buckaroo_Ideal, Buckaroo_PayPal, CardSave, Coinbase, Dummy, Eway_Rapid, FirstData_Connect, GoCardless, Manual, Migs_ThreeParty, Migs_TwoParty, Mollie, MultiSafepay, Netaxept, NetBanx, PayFast, Payflow_Pro, PaymentExpress_PxPay, PaymentExpress_PxPost, PayPal_Express, PayPal_Pro, Pin, SagePay_Direct, SagePay_Server, SecurePay_DirectPost, Stripe, TargetPay_Directebanking, TargetPay_Ideal, TargetPay_Mrcash, TwoCheckout, WorldPay, Alipay Bank, AliPay Dual Func, Alipay Express, Alipay Mobile Express, Alipay Secured, Alipay Wap Express, Cybersource, DataCash, Ecopayz, Neteller, Pacnet, PaymentSense, Realex Remote, SecPay (PayPoint.net), Sisow, Skrill, YandexMoney, YandexMoneyIndividual
And both Buckaroo_Ideal and Buckaroo in the list.
I have to skip them https://github.com/Payum/Payum/blob/master/src/Payum/Core/PayumBuilder.php#L577
I removed buckaroo from the list.
Thanks @kayladnls. What about the reset (see above), they are not working too.
AuthorizeNet_DPM
not in the list? I'll have to follow that up.
$factory->getSupportedGateways()
containsBuckaroo
in the list, but when I try to create it I am getting an exception:There are some other gateways which do not work:
['Buckaroo', 'Alipay Bank', 'AliPay Dual Func', 'Alipay Express', 'Alipay Mobile Express', 'Alipay Secured', 'Alipay Wap Express', 'Cybersource', 'DataCash', 'Ecopayz', 'Neteller', 'Pacnet', 'PaymentSense', 'Realex Remote', 'SecPay (PayPoint.net)', 'Sisow', 'Skrill', 'YandexMoney', 'YandexMoneyIndividual']
Question: Can I use gateway names returned by
getSupportedGateways
method as a type forcreate
method. Is this right way to use it?