OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Problem creating new payment method

This topic contains 11 replies, has 4 voices, and was last updated by  adamdevine78 5 years ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #38280

    Mauro Chojrin
    Participant

    Hi:

    I’m trying to create a new payment method following this guide and when I get to this screen:

    Integrations management

    and click “Create Integration” I get an error.

    Looking at the logs I see this:

    Any ideas? Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Author
    Replies
  • #38294

    Andrey Yatsenko
    Moderator

    There is an error in the documentation.
    Replace LocalizedFallbackValueCollectionType::NAME with LocalizedFallbackValueCollectionType::class to fix it

    #38299

    Mauro Chojrin
    Participant

    Thanks Andrey! I found a few other typos in the documentation… how can I report them?

    #38301

    Andrey Yatsenko
    Moderator
    #38327

    Mauro Chojrin
    Participant

    Hi Andrey:

    I managed to get things kinda working. It’s not producing any errors and I’m able to add the integration to my newly created payment method but when I go to Payment Rules I can’t select it :(

    Thanks for your help.

    BTW: there are many errors in the docs… I’ve been submitting some PRs with the details I picked up but it could use a review.

    #38334

    Andrey Yatsenko
    Moderator

    Hi Mauro,
    The guy from our team just started reviewing this article. And if you’ll push this PR with your fixes, even if it’s not completed, it could be a great starting point for him.
    Thank you

    #38337

    Mauro Chojrin
    Participant

    Great! I think I did push the PRs… I’m not so experienced with GitHub… anyway, if it helps, he can contact me directly at mauro[dot]chojrin[at]leewayweb[dot]com

    #38381

    Mauro Chojrin
    Participant

    A little more detail on my problem:

    Here’s what my integrations panel looks like (I’m working on the VM, oroCommerce 3.1.4 according to composer.lock):

    Integrations management panel

    Here’s the detail of my payment method:

    Details of payment method

    I just realized there are no Statuses associated with it… could this be a problem?

    This is my payment rule panel:

    Payment rules panel

    And this is my edit screen for the payment rule:

    Payment rule config

    When I press save I get the message “You must select at least 1 payment method” but, as you can see, I don’t have any option to choose from :(

    #38437

    Also options were not working as given in doc

    #38513

    Mauro Chojrin
    Participant

    Hi:

    I could really use some help here… I’m trying to implement a button to insert new payment transactions and I need to mark the newly created transactions as using CollectOnDelivery (Cash) as payment method… so far I’ve done it very manually, like this:

    Inside a service I created ( OrderPaymentTransactionHandler ) copying from shipping tracking.

    I guess there must be a better way to do it (Like $order->addPaymentTransaction() or something like that, but I couldn’t find it yet…)

    #38530

    Mauro Chojrin
    Participant

    Apparently there is no such method :(

    Is there a particular reason why there are no methods to work with payment history like there are to work with shipment tracking records?

    #38717

    adamdevine78
    Participant

    Thanks for the information. I really like it.

Viewing 11 replies - 1 through 11 (of 11 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top