‘1f2835c54842b41d14117f8fa0058ba6f4f9e41d76d533b2a3b68a189cfddd1c’,
‘merchant_id’ => ‘B2A0E41840410’,
‘contract_id’ => ’40F5D0CA26AC3′,
‘td_email’ => ‘eden@integrityanalysis.com’,
‘td_first_name’ => ”,
‘td_last_name’ => ”,
‘td_address’ => ”,
‘td_city’ => ”,
‘td_country’ => ”,
‘td_user_data’ => ‘BIKvznCHmc’
);
//Make the request to the server
$result = post_to_url(“https://api.swipehq.com/createSubscriptionIdentifier.php”, $postData);
//If we have encountered an error display something back to the customer.
if ($result === false) {
echo ‘We have encountered an error!’;
exit;
}
//Print the results.
print_r(json_decode($result));
?>