#steven-gauerke_code
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- steven-gauerke_api, 11 minutes ago, 40 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1259893822486347848
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello, what version of the stripe-php library are you using? That API was added recently, so you may need to upgrade your library to be able to use this API
This part works....
$customer = $pg->customers->retrieve($o->officeArr['stripeCustomerID'], []);
So I know $pg is not null
ii upgraded to the latest just a few days ago.
2024-06-20
let me check my composer logs
to see if maybe it did NOT get the latest
I am talking about something slightly different. stripe-php has its own versions, and for example this resource type was added in version 13.16.0 https://github.com/stripe/stripe-php/blob/master/CHANGELOG.md#13160---2024-03-28
no ii know what you meant. I have 15.1.0 based from composer
is it meterEvent or meterEvents?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok the Github code class for that method shows without the S so that was problem one. and my other issue was I was referencing a vendor/autoload that had the old version of stripe that Im not supposed to be using. So it works now
Nice! Glad you could solve that. Can you send me a link to the GitHub page where we say meterEvent? I can make sure we fix that
Well i dont think it needs fixiing but this is where I saw withouot the S
https://github.com/stripe/stripe-php/blob/master/lib/Billing/MeterEvent.php
i guess I shouldnt go off the class files huh? lol
Yeah, it looks like that property is defined here as meterEvents
https://github.com/stripe/stripe-php/blob/ce69d019/lib/Service/Billing/BillingServiceFactory.php#L11
Is there a way to use metering without subscriptions? Let me generate an invoice whenever with that product?
Hi there ๐ taking over, as my colleague needs to step away
Is there a way to use metering without subscriptions? Let me generate an invoice whenever with that product?
Unfortunately not