Accepting payments from own built website

Looking at what you provided it looks like you have it set to print the location with print_r($location); and then process the payment. I see from your logs that you are successfully processing payments with the API so it is working as expected. Were you expecting a different result?