Google checkout merchant-calculation-callback working more than 1 time

58 Views Asked by At

Now I am working with Google checkout payment method.When I check the payment with Google checkout sandbox.The XML contain "merchant-calculation-callback" returning two times , How to prevent this problem. Due to this problem, Multiple updates are taking place in my database. How to prevent this problem?

1

There are 1 best solutions below

0
On

Send an acknowlegment back to google that you have notified. If you are using google sample code you can use this code

$Gresponse->SendAck($data[$root]['serial-number'], true);