Skip to content

googlebilling does not fill the purchase cost, currency after purchased #272

@bachtrong43

Description

@bachtrong43

Just checked the code of googlebilling, the transaction doesn't have pricing information: getPurchaseCost, getPurchaseCostCurrency

Stacktrace

Transaction transaction = new Transaction();
                transaction.setIdentifier(product);
                transaction.setOrderId(purchase.getOrderId());
                transaction.setRequestId(purchase.getPurchaseToken());
                transaction.setStoreName(PurchaseManagerConfig.STORE_NAME_ANDROID_GOOGLE);
                transaction.setPurchaseTime(new Date(purchase.getPurchaseTime()));
                transaction.setPurchaseText("Purchased: " + product);
                transaction.setReversalTime(null);
                transaction.setReversalText(null);
                transaction.setTransactionData(purchase.getOriginalJson());
                transaction.setTransactionDataSignature(purchase.getSignature());
//Please provide the stacktrace if applicable 

Please select the affected platforms and payment service implementation

  • Amazon
  • [x ] googlebilling
  • googlepay
  • apple robovm
  • Huawei

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions