#escardalda

1 messages · Page 1 of 1 (latest)

astral lotusBOT
iron scroll
#

Hi there!

astral lotusBOT
median plover
#

Let me show you what I receive because I don't have that option

#

com.stripe.model.Product@186 "<com.stripe.model.Product@1461975788 id=prod_Lfd48Yn5zjq0bJ> JSON: {
"active": true,
"attributes": [],
"caption": null,
"created": 1652284262,
"deactivate_on": null,
"default_price": "price_1KyHoYCOJRvqeEjjNpN5J5nM",
"deleted": null,
"description": "descripción del producto",
"id": "prod_Lfd48Yn5zjq0bJ",
"images": [
"https://files.stripe.com/links/MDB8YWNjdF8xS3lIbUVDT0pSdnFlRWpqfGZsX3Rlc3RfWWdTSkpUOUpDVmRXaXcwUFd1N1FmdmNr00G4nn4oDF"
],
"livemode": false,
"metadata": {},
"name": "Suscripción Curious",
"object": "product",
"package_dimensions": null,
"shippable": null,
"statement_descriptor": "Suscripcion Curious",
"tax_code": "txcd_20030000",
"type": "service",
"unit_label": null,
"updated": 1701248157,
"url": null
}"

patent basin
#

Hmm, might be related to your SDK version are some are strictly typed. Which are you using?

median plover
#

Where can I check the version?

#

The dependency: <dependency>
<groupId>com.stripe</groupId>
<artifactId>stripe-java</artifactId>
<version>20.125.0</version>
</dependency>

patent basin
median plover
#

And to use the most recent version do I just have to update the dependency or do I have to do something else in the Stripe portal?

patent basin
#

Well each major version of the Java SDK is pinned to a specific API version (meaning any requests made with that SDK will use that API version by default). 23.x.x uses 2023-08-16 and it seems your account default is 2020-08-27 so you might need to upgrade there yes

median plover
#

And how could I update it?

patent basin
median plover
#

One last question. If I update, what would happen to the developments that are in production that point to the previous version? Will they still work?