#kingd4

1 messages ยท Page 1 of 1 (latest)

cerulean hingeBOT
shy nymph
#

Can you provide more details? What kind of description needs updating?

rotund pivot
#

So basically my payment description that's passing back to stripe is not being updated even when I change the description on the webhook

#

The payment description is still staying the same even when I updated it with a new description

#

I chat to the support and she said this. I've inspected your checkout page. From here, what we recommend is to update the description of the product object in your API. You can refer to our API reference here on this: https://stripe.com/docs/api/products/object#product_object-description

#

But I am not sure how to do it

shy nymph
#

Okay, let's make sure we're on the same page. What object type are you adding/updating a description on? Like, is this a PaymentIntent, Product, or something else?

#

If you have an ID, that'll be helpful

rotund pivot
#

This the ID - pi_3OCsfBAv8ANbQE1l1o756zGo

shy nymph
#

Okay, I see a description was passed when this PaymentIntent was created. This description was included in the payment_intent.created event sent to your webhook

#

What exactly is not working?

rotund pivot
#

I want to change the description

#

not manually

#

but automatically

shy nymph
#

What do you mean by "not manually but automatically"?

rotund pivot
#

So instead of the current description that shows in payment details

#

I would like it to say Digital Downloads

#

but if I want to change that, I have to do it manually

shy nymph
rotund pivot
#

So I have to reach out to a developer to do this

shy nymph
#

I guess I still don't really know what you mean by manually vs. automatically

rotund pivot
#

No I mean

#

when someone goes to make the payment, and it shows up in my dashboard

#

I don't want that old description showing up

#

I want a new description

#

I am talking right here

shy nymph
#

Got it

#

You can change that value through the Stripe Dashboard (by clicking into the PaymentIntent and selecting "Edit" under "Payment Details > Description") or programmatically (by writing a script or using the Stripe CLI to update the PaymentIntent using its ID).

#

You mentioned this:

The payment description is still staying the same even when I updated it with a new description

#

What are you updating exactly?

#

or how are you trying to update this PaymentIntent's description?

rotund pivot
#

Nah, the new one that would come in

#

I thought I created this description when I did the webhook

#

I want all the new descriptions to be different

shy nymph
#

Webhook endpoints and PaymentIntent descriptions are totally different so not sure what you mean by that

rotund pivot
#

So how can I change it, so it pass the code with a different description

#

Where did I set the payment intent description, I don't remember setting that

shy nymph
#

You'll need to dig into your code or work with the team that helped you write the code that's currently creating PaymentIntents

rotund pivot
#

Ohh okay, thank you

#

so it's somewhere on the server

#

correct

shy nymph
#

Yep!

rotund pivot
#

Okay, let me go do some digging

#

Hey roadrunner I got a question

#

I am a new developer, what language does stripe use and is it a case where I can implement stripe api through any language

#

I just graduated computer science and I want to start developing my skills some more to be better in the real world

#

I kinda wanna know where I should start from

shy nymph
#

We have Stripe libraries in a few different languages: https://stripe.dev/

See the row at the bottom of the page

#

I kinda wanna know where I should start from
This is kind of a hard question ๐Ÿ˜…

rotund pivot
#

Okay, so basically all libraires work

#

So I guess I need to choose one of the languages and focus on mastering that

shy nymph
rotund pivot
#

Okay thanks for that, which would you say is the most used language these days in the web development world

shy nymph
#

This isn't really the right place for that question.

#

That said, I know React is popular for frontend development, backend can really vary by industry

rotund pivot
#

Okay, thank you. I just wanted to get an experience developer perspective since I graduated a week ago and it just came to my mind since I was talking to a experience dev

#

I appreciate you answering, thank you