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

Postgres Error Database Exception – yii\db\Exception #122

Closed
theskyfloor opened this issue Jul 29, 2020 · 2 comments
Closed

Postgres Error Database Exception – yii\db\Exception #122

theskyfloor opened this issue Jul 29, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@theskyfloor
Copy link

Description

Error on PGsql when not in test mode:

SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type boolean: ""
The SQL being executed was: SELECT *
FROM "enupalstripe_customers"
WHERE ("email"='[email protected]') AND ("testMode"='')

Test mode is blank but needs to equal 0 or Postgres throws an error.

Steps to reproduce

Additional info

  • Craft version:
  • PHP version:
  • Database driver & version:
  • Plugin version:
  • Is SCA and Stripe Checkout enabled?:
@andrelopez andrelopez self-assigned this Jul 30, 2020
@andrelopez andrelopez added the bug Something isn't working label Jul 30, 2020
andrelopez added a commit that referenced this issue Aug 8, 2020
@andrelopez
Copy link
Member

Hi @theskyfloor we just released Stripe Payments v3.0.0 with a fix to this issue. Thanks for reporting!

@theskyfloor
Copy link
Author

Thanks Andre!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants