#kingd4
1 messages ยท Page 1 of 1 (latest)
Can you provide more details? What kind of description needs updating?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But I am not sure how to do it
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
This the ID - pi_3OCsfBAv8ANbQE1l1o756zGo
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?
What do you mean by "not manually but automatically"?
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
You can change a PaymentIntent's description programmatically, using some code to update the PI: https://stripe.com/docs/api/payment_intents/update#update_payment_intent-description
So I have to reach out to a developer to do this
I guess I still don't really know what you mean by manually vs. automatically
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
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?
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
There's some server code that passed this description when creating the PaymentIntent: https://dashboard.stripe.com/logs/req_GMicoOlJq2lmMC
Webhook endpoints and PaymentIntent descriptions are totally different so not sure what you mean by that
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
You'll need to dig into your code or work with the team that helped you write the code that's currently creating PaymentIntents
Yep!
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
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 ๐
Okay, so basically all libraires work
So I guess I need to choose one of the languages and focus on mastering that
I recommend starting with a language you're comfortable with and using that to follow this guide: https://stripe.com/docs/payments/accept-a-payment
This is a companion to our payments quickstart: https://stripe.com/docs/payments/quickstart
Okay thanks for that, which would you say is the most used language these days in the web development world