App billing android orderId and currency format error -


i'm using app billing v3 , iabhelper interface, implementation ok (hope that) , lately i'm getting 2 problems registers:

  1. some orderid i'm seding server not in normal format "orderid" : "gpa.1234-5678-9012-34567", i'm getting "556515565155651". documentation say:

"for transactions dated previous 5 december 2012, "556515565155651".."

but 2015 app, , register not showed in google merchant account , finnancial reports. code ..

    iabhelper.oniabpurchasefinishedlistener mpurchasefinishedlistener= new          iabhelper.oniabpurchasefinishedlistener() {     public void oniabpurchasefinished(iabresult result,purchase purchase)     {         if (result.isfailure()) {               if (purchase!=null){                  try {                         string price =  helper.getpricesku("mypackage", "mysku, "subs");                         string currency = mhelper.getcurrencysku("mypackage","mysku", "subs" );                     } catch (remoteexception e) {                         e.printstacktrace();                     } catch (jsonexception e) {                         e.printstacktrace();                     }                     string orderid = purchase.getorderid();                     send_to_server(price, currency, orderid, "rejected");              }          } else {                 try {                         string price =  helper.getpricesku("mypackage", "mysku, "subs");                         string currency = mhelper.getcurrencysku("mypackage","mysku", "subs" );                     } catch (remoteexception e) {                         e.printstacktrace();                     } catch (jsonexception e) {                         e.printstacktrace();                     }                     string orderid = purchase.getorderid();                     send_to_server(price, currency, orderid, "aproved");           }     } 
  1. in registers i'm getting currency different. example, google account default has pen currency. 1 user in colombia , when got payment currency register pen.. know possible if google account , credit card pen, strange thing prices showed colombia local format... possible google error getting currency? code above.. thank in advance!!


Comments