Is there anyone who has used their API with php who would be able to explain to me how to take their example and actually get something to present itself on a page.
I've tried the example:
$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_URL => 'https://bips.me/api/v1/sendto',
CURLOPT_USERPWD => 'apikey',
CURLOPT_POSTFIELDS => 'amount=1&to=1AGRQLxMmYEbBCGHaTEanSLXZnfzsGVTDF',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPAUTH => CURLAUTH_BASIC));
curl_exec($ch);
curl_close($ch);
while using my 'sendto' API key, and i just get an empty page.
I basically need to be able to build something similar to their first screenshot example, the embedded invoice, for a shopping cart type setup. I can cope with the contents of the users order, and calculating a total, however unless i can figure out how to present the user with a payment system for that order im not going anywhere.
Can someone assist me with just the information which would turn the above into a payment processing screen for the 1btc to '1AGRQLxMmYEbBCGHaTEanSLXZnfzsGVTDF', no additional info, just display the screen asking me to send funds to the address to complete the purchase. I should be able to figure out how to send the actual info i need myself, but its all pointless if i cant understand why the example doesnt work as its provided, something else must be needed surely?