Receipt_Url not always returned

Hi ,

I implemented TERMINAL API and also the SquarePayform ( Website ) for a client a while ago . I recently made a change to also capture the returned receipt_url string and save it into a table so we can email later…

On occasion the returned json string doesn’t always contain the reciept_url , but it does contain everything else , If I go and query the payment id later it’s there .

Is there anything else I should consider like implementing some form of wait …


I didn’t think a wait was necessary however if you do a retry is the URL in the next call? If so you could either do a wait or implement a retry method. :slightly_smiling_face:

Hi Bryan,

I have implemented a slight wait and it seems to have done the trick so far . Will let you know if it re occurs.