ssossossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums Forums OroCommerce Payment Rules

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

  • Creator
    Topic
  • #32099

    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
  • #32101

    msulima
    Moderator

    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.