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

Explicitly set the payment method #375

Merged
merged 1 commit into from Mar 12, 2024

Conversation

mntzrr
Copy link
Contributor

@mntzrr mntzrr commented Feb 29, 2024

Seems like WC is not updating the payment method when a pending payment order is paid through the order pay page using a different payment gateway.

  • explicitly set the payment method.
  • refactor: save_order_meta_data in subscriptions is identical to kp_process_auth_or_callback. To avoid repeating ourselves, I've consolidated both functions into kp_save_order_meta_data.

Seems like WC is not updating the payment method when a pending payment order is paid through the order pay page using a different payment gateway.

- explicitly set the payment method
@mntzrr mntzrr self-assigned this Feb 29, 2024
@MichaelBengtsson MichaelBengtsson merged commit dab2dfb into develop Mar 12, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants