#battbot-Charge
1 messages · Page 1 of 1 (latest)
Hi
The Refund object should have some information inside it as well. Which information you are seeking?
to print a physical receipt
Like what you have when you pay
https://stripe.com/docs/terminal/features/receipts
under the custom receipts
it's a physical terminal, when you refund you are supposed to get a refund receipt with all the legal card reader information
the emvARC, emvTVR, etc
Like when you go to a store to get a refund to your card, there's a receipt that's printed that contains information for the card reader transaction which is legally mandatory for all card readers
Have you checked the receipt_url inside the original Charge. I think it should update when the Charge is refunded
receipt_url
This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
the url is useless for us
we need to print a receipt with specific fields
your digital receipt in that url doesn't fulfill the legal guidelines for a physical printed receipt
specifically you are looking for emvARC, emvTVR, correct?
Would these parameters sufficient? https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present
like the information included in this picture
but for a refund
yeah those fields are ok, but it's only available for charge
i already have that information for a payment receipt. But i need similar data for refunds
https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-receipt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
because the refund data would be different than the initial charge data
Can you elaborate, for example what would be different?
everything
it's a different card transaction
all the bank transaction ids would be different
You tapping a card to pay vs you tapping a card to refund results in different transactional data. The ARC, the AID, the TVR would all be different
even if it's the same card
I am not sure what you mean by "tapping to refund". By refund you always create an API on your side and targeting an already existing Charge Id
no you don't. If the payment is done using Interac, the refund must be done by physical card during a refund
Can you provide the Doc for that flow?
I am trying to understand your current integration
can you bring someone who is familiar with the in-person payment integration?
That would be Support team. They may know better about a specific flow
server-driven integration
under the section Refund an Interac payment
Ah okie that's much clearer now. Looking...
Can I ask you to provide some example Id? An Interact Refund Id in your case
we haven't been able to get that working yet so i can't provide an example. we are still in development
we only have example in the test mode, but those don't have accurate emv data, not even for payments
Got it. Can you still provide that test mode refund id?
pi_3LcvYnJ93KfFVesb0g0T9GXz is the payment intent
re_3LcvYnJ93KfFVesb0movxJy7 is the refund id
we also have live payment and refunds for in-person but only for credit-card types. haven't gotten interac to work properly on the live environment
we can see valid emv data for the payments, but refunds don't contain any emv data
this is an example of a live credit card payment that was refunded : pi_3LcAiwJ93KfFVesb0ZjNSWXy
Thanks for providing those IDs. You were right we don't surface the detail on Refund object even in this case.
I am afraid I don't have anything to offer. Let's continue with Support and they would be able to route out the the specialized team
In order to speed out conversation with them, I suggest explicitly telling them this is Interact Refund, with the Doc link you provided above
And the example Refund receipt data you want on Refund (which fields/properties explicitly)
how would i continue with suport?
If you haven't reached out to them, here
:question: Have a non-technical question, account issue, or need one-on-one support?
We wish we could help, but this community is focused on developers and technical discussions. Our support team will be able to assist you better than we can: https://support.stripe.com/contact