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

CP payments using payment source instead of entered payment details #891

Closed
timeverts opened this issue Jun 4, 2019 · 1 comment
Closed

Comments

@timeverts
Copy link

Description

If an order is originally paid for using a payment source on the frontend (by a registered user) and then an admin user refunds that order in the CP and then makes a payment for that same order again from within the CP, regardless of what payment form and data the CP admin uses in making the payment again, the original payment source is used by Commerce to pay for the order from the CP request. This is unexpected.

Steps to reproduce

  1. Install Commerce.
  2. Install a payment gateway that supports payment sources.
  3. Submit an order on the frontend and create a payment source during payment.
  4. Log into the CP, go to Commerce and locate the order.
  5. On the transactions tab, submit a refund (full or partial) for the order.
  6. Still on the transactions tab, make a payment again for the order but use different payment details than the original frontend transaction.
  7. The order will be paid for using the original payment source rather than the details just entered by the CP administrator.

Additional info

  • Craft version: Craft Pro 3.1.25
  • PHP version: 7.1.29
  • Database driver & version: MySQL 5.7.14
  • Plugins & versions:
    • Commerce 2.1.5.1
@lukeholder
Copy link
Member

Thanks, fixed for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants