InApp Billing: Fetch Order Details

  • Replies:0
Webi Score
  • Forum posts: 1

Jan 20, 2016, 1:12:04 AM via Website

I'm creating an Android application to sell digital content on my backend server. What I wish to do is fetch the order details after successful payment from the InApp Purchase and send details to server side as php response to retrieve the required data and send it back to the customer.

On the server side the PHP functions are ready and set however how to connect the InApp with the PHP code.

An example to fetch the order details from Woocommerce that I use

$products = array();
$_name = $order->billing_first_name.' '.$order->billing_last_name;
$_email = $order->billing_email;
$lastOrderId = $order->id;
Is there an equivalent way for InApp Billing?

— modified on Jan 20, 2016, 1:13:48 AM

Reply