Sha256: 41abd9fc812b0112bbcb867231702b1c68fd976c0e935e28e74af665eef3c0fa
Contents?: true
Size: 952 Bytes
Versions: 14
Compression:
Stored size: 952 Bytes
Contents
<pre> <?php $key = $_GET['key']; //$url = "https://secure.docdatapayments.com/ps/services/paymentservice/1_1?wsdl"; // live url $url = "https://test.docdatapayments.com/ps/services/paymentservice/1_1?wsdl"; $client = new SoapClient( $url ); //var_dump($client->__getFunctions()); $parameters = array(); $parameters['version'] = "1.1"; // merchant //$parameters['merchant']['name'] = $_POST['merchantname']; //$parameters['merchant']['password'] = $_POST['merchantpassword']; $parameters['merchant']['name'] = 'phptest'; $parameters['merchant']['password'] = 'xxx'; $parameters['paymentOrderKey'] = $key; // dorequest echo "<h2>Status</h2>"; $response = $client->status( $parameters ); if( isset( $response->statusSuccess->success ) ) { print_r($response->statusSuccess->report); } else { print_r( $response->statusError ); } ?> </pre>
Version data entries
14 entries across 14 versions & 1 rubygems