Hi
Can you please clarify how do I know paymentId and orderId required for refund? Can it be added to receipt?
Hi
Can you please clarify how do I know paymentId and orderId required for refund? Can it be added to receipt?
Added to receipt? How is that going to help you? You will be limiting your POS to only allow receipts if the customer has a hard copy of the receipt. If you would like to do that see https://docs.clover.com/docs/smart-receipts.
When you execute a payment you will receive a response for that payment (onSaleResponse, etc.). The response will contain a payment and the payment will have both the payment and order id. You will need to grab those and store them with your POSs payment record. Then when the customer asks for a refund you will look up your POSs payment record and you will have the payment/order id.
I suggest that you thoroughly read/review our best practices - https://docs.clover.com/docs/remote-pay-sdk-best-practices.
Hi
if both values are on receipt I would not have to store it or look it up. It is right there
And if they don't have the receipt? We are not going to be adding those properties to the receipt. Best practice mandates that your POS has some stored connection to the Clover payment.
asking for a refund without a receipt? I want to see that. And don't you need receipt to look up payment record anyway?
ok. thanks
That is very common practice in the US especially at major stores. If you would like to add those values to the receipt - https://docs.clover.com/docs/smart-receipts, but I don't know why you would want to limit your POS to requiring a physical receipt for refunds.
1 Person is following this question.