Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto_capture=yes not working #122

Open
plombix opened this issue May 31, 2022 · 1 comment
Open

Auto_capture=yes not working #122

plombix opened this issue May 31, 2022 · 1 comment
Labels
v4.x Issues and PRs targeting the classic frontend (before v5)

Comments

@plombix
Copy link

plombix commented May 31, 2022

Need to add event logic to make auto_capture flow work .

  order = event.payload[:order]
  order.payments.pending.each do |payment|
    payment.capture!
  end

  Spree::OrderUpdater.new(order).update
end

Maybe it's a needed config feature

@stale
Copy link

stale bot commented Nov 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 11, 2022
@gsmendoza gsmendoza removed the stale label Nov 15, 2022
@elia elia added the v4.x Issues and PRs targeting the classic frontend (before v5) label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4.x Issues and PRs targeting the classic frontend (before v5)
Projects
None yet
Development

No branches or pull requests

3 participants