#alessandromontanari_paypal-disputes-testing

1 messages ยท Page 1 of 1 (latest)

late estuaryBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1354845692438515774

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

rocky radish
#

HI ๐Ÿ‘‹

You can use the card numbers and example evidence we display here to simulate disputes. Unfortunately, we don't have anything specific to PayPal that I know of.

robust bear
rocky radish
#

Oh wait a sec, the cURL Command we display there should return the dispute object you need

#
curl https://api.stripe.com/v1/payment_intents \
  -u "sk_test_51JticYIlCeH6bP8RQmkScSIBs4Gg870ecW5lRX02YE1O3m7HpPbUHfPTc22MS98LXEaXwuK9yzp8L6cDd3O4qs02002fcAA5TZ:" \
  -d amount=1099 \
  -d currency=eur \
  -d "payment_method_types[]"=paypal \
  -d "payment_method_data[type]"=paypal \
  --data-urlencode "payment_method_data[billing_details][email]"="dispute_not_received@example.com"
robust bear
#

In the data returned there are no info about fees for dispute or balance transaction

rocky radish
robust bear
#

Sure

#

req_H6tTR5sRTmmX2k

rocky radish
#

Thanks, taking a look

#

You still need to complete the Payment

#

The dispute cannot be created until the Payment Intent has been confirmed

#

It might actually be easier to use a checkout session and just provide the test scenario emails for the customer email

robust bear
#

Got it! I've completed a payment with paypal with email dispute_not_received@example.com and a new dispute has been created for that payment

#

And how can I achieve a dispute where I won?

rocky radish
#

You need to respond to the dispute with our winning evidence here

robust bear
#

Got it! Thanks

rocky radish
#

Happy to help ๐Ÿ™‚