#PixelNinja

1 messages · Page 1 of 1 (latest)

amber dirgeBOT
molten kraken
#

Hi, can you provide more clarity here? What do you mean by edit their payment?

keen topaz
#

Hey

#

So if I create a payment like here on the dashboard:

#

But it's actually created through the API allowing me to redirect them to a payment page

#

It has a list of all their basket items, but if they say wanted to remove one, they go back to my website and remove it from basket and then re-click pay

#

Can I edit the payment request or do I have to delete it and remake a new one?

molten kraken
#

What you're trying to achieve is not possible. You cannot after providing the payment link, edit the items there by removing items. You'd create a new payment link without the line item in this case.

keen topaz
#

Ah I see

#

Would I be able to deactivate the old one as it would no longer be tracked?

molten kraken
keen topaz
#

Ah I see, thank you. Do you know what kinda ratelimits I should impose on the new creation endpoint, for example, how many times a user can change their basket and go back through creating another payment?

#

I'm not sure if there is a recommended amount per customer

molten kraken
#

It all depends on your integration and how many other calls are being made at the same time. To learn more about rate limiting please visit: https://stripe.com/docs/rate-limits

keen topaz
#

Alright, thank you so much!