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

Stripe FDW doesn't return the same values as the Stripe API #385

Open
2 tasks done
gonzague opened this issue Dec 14, 2024 · 1 comment
Open
2 tasks done

Stripe FDW doesn't return the same values as the Stripe API #385

gonzague opened this issue Dec 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gonzague
Copy link

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

I have a very simple bug : when checking out the content of my FDW Stripe Subscriptions table, I don't have the same content as what the Stripe API's outputs. For the moment my wrapper is connected to Stripe in test mode.

To Reproduce

So for example for me this happens with the JSONB content of the attrs column

I'll have the following data with Stripe's API :

"cancel_at": 1736151465,
"cancel_at_period_end": true,
"canceled_at": 1733769670,

And in Supabase's Stripe FDW , in a different order :

"cancel_at_period_end": false,
"cancel_at": null,
"canceled_at": null,

Expected behavior

I expect the data in the FDW table to mirror what Stripe's API outputs

Screenshots

If applicable, add screenshots to help explain your problem.

System information

I'm using Supabase Cloud's offering, with Postgres 15.6.1.146, Wrappers version 0.4.2

Thanks!

@gonzague gonzague added the bug Something isn't working label Dec 14, 2024
@burmecia
Copy link
Member

Thanks for reporting this issue. I cannot reproduce this error, could you provide more details or double check if your're accessing the same Stripe account?

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