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

[4.x]: "Make a payment" on manual gateway order doesn't work #303

Closed
AmandaLutzTO opened this issue May 24, 2024 · 5 comments
Closed

[4.x]: "Make a payment" on manual gateway order doesn't work #303

AmandaLutzTO opened this issue May 24, 2024 · 5 comments
Assignees
Labels

Comments

@AmandaLutzTO
Copy link

AmandaLutzTO commented May 24, 2024

What happened?

Description

Commerce > System Settings > Gateways includes Dummy, Stripe Payment Intents (for credit card), and Manual (for check and purchase order). A check/purchase order order is successfully created but in the backend, Order > Transactions > Make a payment shows Calling unknown method: craft\commerce\stripe\gateways\PaymentIntents::getOldPaymentFormHtml()

Steps to reproduce

  1. create new ecom order
  2. select payment method of type Manual (ie Check or Purchase Order)
  3. order is successfully completed
  4. go to Craft backend
  5. find the unpaid order and click to edit
  6. go to the Transactions tab
  7. click "Make a payment" button

Expected behavior

Enter payment amount and order's Paid Status changes from Unpaid.

Actual behavior

Modal window with message Calling unknown method: craft\commerce\stripe\gateways\PaymentIntents::getOldPaymentFormHtml()
image

Craft CMS version

4.7.1

Craft Commerce version

4.5.3

PHP version

8.1.8

Operating system and version

Linux 5.15.133.1-microsoft-standard-WSL2

Database type and version

MySQL 8.0.32

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

  • Stripe for Craft Commerce (3.1.1)
Copy link

linear bot commented May 24, 2024

@AmandaLutzTO
Copy link
Author

AmandaLutzTO commented May 24, 2024

I just noticed. Why is it calling a Stripe gateway function? Yes, we have Stripe for Craft Commerce (3.1.1) installed but this order shouldn't be referring to it.

@AmandaLutzTO
Copy link
Author

I have just tried another order with a brand new test user that has no cc info associated with it. Same result.

@lukeholder lukeholder self-assigned this May 27, 2024
@lukeholder lukeholder transferred this issue from craftcms/commerce May 28, 2024
Copy link

linear bot commented May 28, 2024

lukeholder added a commit that referenced this issue May 28, 2024
@lukeholder
Copy link
Member

@AmandaLutzTO I have just pushed commerce-stripe 3.1.3, which fixes this issue. Thanks!

lukeholder added a commit that referenced this issue May 28, 2024
See fix for 3.x #303

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

No branches or pull requests

2 participants