#honeysugarbaby_webhooks

1 messages · Page 1 of 1 (latest)

grand lindenBOT
#

👋 Welcome to your new thread!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

🔗 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/1212423243667996764

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

⏲️ 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. Thank you for your patience!

frosty juncoBOT
compact yarrow
#

How do I classify as "terms conditions" and then another file as "terms disclosure"

#

seems I'm only able to upload one file

worthy iris
#

Hi 👋 I'm not sure I understand what you're describing, could you elaborate a bit more?

compact yarrow
#

I am updating a dispute... I want to upload multiple files as evidence.

#

I have two files: "terms and conditions" and "terms disclosure" .

#

terms.pdf and disclosure.pdf

#

how do I upload BOTH and classify them properly?

#

I tried
$uploadfile=\Stripe\FileUpload::create(array(
'purpose' => 'dispute_evidence',
'file' => $fp
));

but it only allows a single file.

worthy iris
#

You call that endpoint multiple times to create multiple File objects.

compact yarrow
#

humm... ok. seems to only display a single file when I bring up the dispute in a browser window.

frosty juncoBOT
worthy iris
#

We aren't too familiar with the dashboard side of these flows, we mainly focus on working with the API. Are you updating the Dispute object so that it contains a reference to both of the files you uploaded?

compact yarrow
#

yes exactly...

worthy iris
compact yarrow
#

humm that link is broken

worthy iris
#

sorry, I've fixed that

compact yarrow
#

This site can’t provide a secure connectiondocs.corp.stripe.com didn’t accept your login certificate, or one may not have been provided.
Try contacting the system admin.
ERR_BAD_SSL_CLIENT_AUTH_CERT

worthy iris
#

I updated the link, can you try again?

frosty juncoBOT
compact yarrow
#

great. that link works.

#

In this document... I see "evidence.cancellation_policy"

#

but it isn't clear to me how to pass this via the API

#

$dispute->evidence = array(
"product_description" => $product,
"access_activity_log"=> $activity,
"customer_communication"=> $uploadfile->id,
"cancellation_policy"=> $uploadfile2->id,
"uncategorized_text"=>$additional,
);
$dispute->submit = false;
$dispute->save();

#

perhaps like this?

#

with the first file and second file IDs attached?

patent stone
#

Hello! I'm taking over and catching up...

#

Yeah, that's generally the correct approach. What happens if you run that?

compact yarrow
#

I'll try..

compact yarrow
#

working...better...

#

Are there better ways to classify these files?

#

I'd like to classify one as "Refund and cancellation policy" and the other as "Terms disclosure"

patent stone
#

I honestly don't know, I'm not familiar with the particulars of how disputes themselves work. I can help you use the API and whatnot, but for questions about the dispute process itself you should reach out to Stripe support: https://support.stripe.com/contact/email

compact yarrow
#

humm.. I thought that is what this was for.

#

Do you work at Stripe?

patent stone
#

Yep, I do.

#

This server is focused on developer support. Code, the API, webhooks, that kind of thing.

#

For other topics, like the the dispute process, Dashboard questions, and so on you should contact Stripe support.

compact yarrow
#

ummm.. we are talking about responding to disputes using webhooks and API

#

I'd say that is 100% developer support related.

patent stone
#

Yep, it is, but you asked about classifications, which I don't know how to help with.

#

Unless I misunderstood the question?

compact yarrow
#

Let me re-phrase... Using the API, how do you specify a file is a "Refund and cancellation policy" ? If I call this... it classifies as a "Cancellation policy" .
"cancellation_policy"=> $uploadfile2->id,

#

is there a, "refund_and_cancellation_policy"=>$uploadfile->id, type call?

patent stone
#

If you have a single PDF that contains both of those you should specify that same PDF for both of those properties.