Please find the below process i am using for authorization and capturing the pre auth amount and also the issue i am getting while printing the receipt.
Process:- I am authorizing and capturing the pre-auth using PaymentConnector, the methods using(for authorization using the method preAuth() and for capturing the pre-auth using the method capturePreAuth()).
Response getting while authorizing the amount:- getting all the payment details with auth amount, order id, payment id etc.
Response getting while capturing the pre-auth:- getting only payment id, close amount and tip amount but not order id etc.
Issue:- The issue i am getting while printing the receipt using order and payment id, reprint receipt only printing the authorized amount but not closed amount and tip amount.
Can you please suggest and help us over here to fix this issue. this is very urgent as my customers are waiting for the app. please help us this would be very helpful. thanks in advance.
Thanks and regards