Hi, you will have to grep the output from curl_exec in a JSON decoded object like below:
$output = json_decode(curl_exec($ch));
This will give you a stdClass object.
{
"status": "success",
"txid": "the transaction id"
}
Access this object in PHP:
print $output->status;
print $output->txid;
Hmm, thats a tiny bit of progress in terms of getting information. All i get from $output is
stdClass Object ( [status] => Insufficient funds ) There are no funds, but then i wasnt aware i was asking it to tell me about the funds, i'd assumed i was trying to send 1btc to the address.
What im looking for is this:
https://ie.bips.me/includes/embedded.pngThe contents of the iframe which will process the payment using the settings defined within the example code. What am i missing?
I assumed the invoice example is used to issue someone an agreed invoice, or is this what your calling the standard payment processing system? Im basically looking for something to process the payment from a shopping cart, as shown in the above image, so the total cost of the transaction and the information for it would be based on the users decisions. From what i can tell, the 'invoice' area isnt for this, and i'd assumed the invoice example tied to the issuing of invoices.