Hi,

I have set up a test account with PaySimple but I am having trouble sending a 
test request to add a customer. I get a 500 error returned by the server on the 
Http request. It may have to do with an improperly prepared authorization 
header. I use php calls to prepare the hashes required.

If anyone could provide an example creation and http request call to PaySimple, 
I’d appreciate it.

$l_Status:=HTTP Request(HTTP post 
method;"https://sandbox-api.paysimple.com/v4/customer";t_Request;t_Response;headernames_at;headervalues_at)

t_Request is properly formatted JSON text
headernames_at{1} := “Authorization”
$headervalues_at{1}:=Authorization: PSSERVER access 
id=myUserID;timestamp=$t_ISO_TimeStamp;signature=hashed t_API_Signature 



Thanks,

Michael Ferguson
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to