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

Unable to process the Payment #303

Open
michielsarne opened this issue Jul 7, 2022 · 14 comments
Open

Unable to process the Payment #303

michielsarne opened this issue Jul 7, 2022 · 14 comments
Assignees

Comments

@michielsarne
Copy link

michielsarne commented Jul 7, 2022

Description

Steps to reproduce

  1. new stripe payment
  2. subscription -> customer chooses plan

Additional info

  • Craft version: 4.1.1
  • PHP version: 8.1.5
  • Database driver & version: MySQL 10.4.24
  • Plugin version: 5.0.4
  • Is SCA and Stripe Checkout enabled?: yes

image

@Coysh
Copy link

Coysh commented Jul 8, 2022

I'm having the same problem
CleanShot 2022-07-08 at 11 55 00@2x

@michielsarne
Copy link
Author

downgrading to a lower Craft version or waiting untill they update the current plugin seems the "solution"

@michielsarne
Copy link
Author

nvm my bad it was in a form tag

@Coysh
Copy link

Coysh commented Jul 14, 2022

@michielsarne @andrelopez Can we open this again, I am still having the issue

@andrelopez andrelopez reopened this Jul 14, 2022
@andrelopez
Copy link
Member

andrelopez commented Jul 14, 2022

@Coysh could you please send me the storage/logs file to [email protected]? are you using SPA like angular, react or any modern js framework on your front-end?

@torgeirbeyer
Copy link

torgeirbeyer commented Aug 2, 2022

Hi. We're experiencing the same problem. I'll send you some of our logs @andrelopez , but it looks like there is some issues with stripe token or formId

we are running on test account for the moment

we are not running any modern js framework on our front end,

2022-08-02 07:39:35 [-][1][][error][enupal\stripe\services\Orders::processPayment] Unable to get the stripe token or formId 2022-08-02 07:39:35 [-][1][][error][yii\web\HttpException:404] yii\web\NotFoundHttpException: Unable to process the Payment in /storage/xxxxxxx/www/public_html/vendor/enupal/stripe/src/controllers/StripeController.php:75 Stack trace: #0 [internal function]: enupal\stripe\controllers\StripeController->actionSaveOrder()

@andrelopez
Copy link
Member

Hi @torgeirbeyer Could you please confirm the info below?
Craft version:
PHP version:
Database driver & version:
Plugin version:
Is SCA and Stripe Checkout enabled?:

@torgeirbeyer
Copy link

Hi @andrelopez. sorry for the late reply, missed this comment.

Craft version: 3.7.47.1
PHP version: 7.4.3
Database driver & version: MySQL 8.0.30
Plugin version: 4.0.5
Is SCA and Stripe Checkout enabled?: SCA is enabled, I think Stripe Checkout is enabled.

@torgeirbeyer
Copy link

@andrelopez Stripe Checkout is enabled.

@torgeirbeyer
Copy link

Hi @andrelopez . Have you gotten a chance to take a look at this?

@andrelopez
Copy link
Member

@torgeirbeyer Could you please recreate this issue and send back to us a zip file of the following folder?

storage/logs

Please send the info to [email protected]

Thanks

@torgeirbeyer
Copy link

Sure. I'll send them soon.

@torgeirbeyer
Copy link

@andrelopez just sent you the log files

@andrelopez
Copy link
Member

The @torgeirbeyer's issue was related to having The Stripe Payments form inside a form html tag, which was preventing the correct form submission.

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

4 participants