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.0] Manual gateway orders appearing in Stripe #254

Closed
jonleverrier opened this issue Oct 5, 2023 · 6 comments
Closed

[4.0] Manual gateway orders appearing in Stripe #254

jonleverrier opened this issue Oct 5, 2023 · 6 comments
Labels

Comments

@jonleverrier
Copy link

Description

When our store administrators create a manual order and make a payment against the order using a manual gateway (we're using this to allow customers to pay by 30 days invoice), there is a line in the transaction tab that says "card payment failed", even though we've not interacted with the stripe gateway.

This is also happening on the front-end too when customers choose to pay by manual gateway.

Screenshot 2023-10-05 at 10 22 45

All orders that have been paid for using the manual gateway appear in Stripe as incomplete!

Screenshot 2023-10-05 at 10 30 17

Steps to reproduce

  1. Setup a manual and stripe gateway
  2. Put through a manual order
  3. Pay for it using a manual gateway
  4. Notice how in the transaction tab, there is a line that says card payment failed
  5. Notice how in the Stripe dashboard the order which was paid for using the manual gateway is in there!

Additional info

  • Craft CMS version:
  • Stripe for Craft Commerce version:
  • PHP version:
  • Database driver & version:
  • Plugins & versions:
@lukeholder
Copy link
Member

Thanks, this has been fixed for the next release.

To get the fixes early, change your craftcms/commerce and craftcms/commerce-stripe requirements in composer.json to:

"require": {
  "craftcms/commerce": "dev-develop#04d8249281d801992f9acc6799db56848c16b4b1 as 4.3.0",
  "craftcms/commerce-
stripe
": "dev-develop#b10503188c4c64efe3f20baf300a669cfbcac16e as 4.0.1",
  "...": "..."
}

@jonleverrier jonleverrier changed the title [4.0] When using a manual gateway stripe runs in the background [4.0] Manual gateway orders appearing in Stripe Oct 5, 2023
@jonleverrier
Copy link
Author

Thanks @lukeholder - that was super quick! If I change my composer.json to get the changes early, do I have to change something back when the new versions of commerce and commerce-stripe come out?

@lukeholder
Copy link
Member

Sorry, make sure to run composer update once updating the composer.json

When the new versions come out, restore the version constraint or use the new version numbers only.

@jonleverrier
Copy link
Author

Perfect- thank you

@jonleverrier
Copy link
Author

jonleverrier commented Oct 27, 2023

Hey @lukeholder. Did the fix for this make it into v4.0.1.1? I'm guessing it did (b105031), but just double checking

@lukeholder
Copy link
Member

@jonleverrier yes use the latest version

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