academe / OmniPay-Payone

A PAYONE gateway driver for the OmniPay framework
MIT License
15 stars 16 forks source link

Payum omnipay-bridge integraton #14

Open mcbuckets opened 7 years ago

mcbuckets commented 7 years ago

Hello, I'm struggling to find a way to implement this library with Payum and payum omnipay-bridge.

As far as i understand if this library works with omnipay then it will work with the bridge, too. But when using this configuration:

 payum:
    storages:
        App\PaymentBundle\Entity\Payment: { doctrine: orm }
    security:
        token_storage:
            App\PaymentBundle\Entity\PaymentToken: { doctrine: orm }
    gateways:
        payone_frontend_client:
            factory: omnipay
            type: Payone(lets's say)
            options:

i get the "Given omnipay gateway type Payone or class is not supported" and payone gateways are not listed among supported gateways.

Supported: AuthorizeNet_AIM, AuthorizeNet_SIM, Buckaroo_CreditCard, 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_PxPo  
  st, PayPal_Express, PayPal_Pro, Pin, SagePay_Direct, SagePay_Server, SecurePay_DirectPost, Stripe, TargetPay_Directebanking, TargetPay_Ideal, TargetPay_Mrcash, WorldPay    

Does anybody know if its possible to this kind of integration?

judgej commented 7 years ago

Have you got anywhere with this? The PAYONE driver has many different modes of operation (server-to-server, front-end with your own forms, front-end with hosted forms, etc.)

Any idea where that supported gateways list comes from? Maybe this gateway perhaps need to be coded into Payum before it can be used, in which case the Payum author may be able to give some direction, even if it is something you need to change in Payum and submit a PR for.

I can help where I can, but have no experience of Payum.

judgej commented 7 years ago

Also, if there are any specific modes you wanted to run the gateway in, or specific functions you wanted to support, we can work on those first.

mcbuckets commented 7 years ago

Haven't had much time lately to dig deep on this. I think there should be some refactoring to do to integrate it with Payum bridge, though.