beam-community / stripity-stripe

An Elixir Library for Stripe
Other
965 stars 344 forks source link

warning: Stripe.Session.retrieve/1 is undefined (module Stripe.Session is not available or is yet) #820

Closed ghenry closed 10 months ago

ghenry commented 10 months ago

Package Version

3.0.0

Are you using the latest version?

Steps to Reproduce

Hi all,

Just upgraded and my CI job is reporting:

https://github.com/SentryPeer/SentryPeerHQ/actions/runs/6508030854/job/17676592207

Run mix compile --warnings-as-errors
Compiling 24 files (.ex)
warning: Stripe.Session.retrieve/1 is undefined (module Stripe.Session is not available or is yet to be defined)
Warning:   lib/sentrypeer_web/controllers/pricing_controller.ex:31: SentrypeerWeb.PricingController.success/2

Compilation failed due to warnings while using the --warnings-as-errors option
Error: Process completed with exit code 1

https://github.com/SentryPeer/SentryPeerHQ/pull/77

Expected Result

No warnings.

Actual Result

Warnings.

ghenry commented 10 months ago

I don't think Stripe.Session is a think. Used to work. Weird.