ssossossosso

Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

This topic contains 1 reply, has 2 voices, and was last updated by msulima msulima 2 months, 1 week ago.

  • Creator
    Topic
  • #3777

    aleksandr1
    Participant

    Hello,
    I have a problem with extending a bundle to payment rules settings.
    For example. I developed the new payment gateway integration based on PayPal bundle. How can add this bundle to the payment methods(payment rules) settings?

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #3780
    msulima
    msulima
    Participant

    Hi, thank you for your question.
    Guide to creating a new bundle described in next article https://www.orocommerce.com/documentation/current/dev-guide/extend-and-customize/how-to-create-new-bundle. And please check, that your bundle have highest priority than PayPalBundle.

    To add new payment method you should add new provider service that should implement ‘Oro\Bundle\PaymentBundle\Method\Provider\PaymentMethodProviderInterface’ and should be registered with tag ‘oro_payment.payment_method_provider’.

    Also, methods of that service should return instance of ‘Oro\Bundle\PaymentBundle\Method\PaymentMethodInterface’.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.