Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Webhook: when upgrade subscription with chargeFullPrice policy in Android => revenue.value is zero (invalid) #378

Open
AErmek opened this issue Dec 24, 2024 · 4 comments
Labels
awaiting answers There is no activity for a while

Comments

@AErmek
Copy link

AErmek commented Dec 24, 2024

var purchaseOptions = QPurchaseOptionsBuilder()
          .setOldProduct(oldProduct)
          .setUpdatePolicy(QPurchaseUpdatePolicy.chargeFullPrice)
          .build();
qonversion.purchaseProduct(product, purchaseOptions: purchaseOptions);

I want to achieve upgrade subscription from monthly(n$) to yearly(m$) with chargeFullPrice policy, and i use code above.
I received email from PlayStore that I was charged m$ and get new yearly plan, but the issue is Webhook sent to my server event(Json below) with event_name: subscription_started with zero revenue.value and zero price.value. Also in my Qonversion Admin Customers>Events>Subscription detail page, I see that Payment is $0.00.

{
    "event_name": "subscription_started",
    ...,
    "revenue": {
        "value": 0,
        "currency": "USD",
        "value_usd": 0,
        "proceeds_rate": 85,
        "is_proceed": 0
    },
    "price": {
        "value": 0,
        "value_usd": 0,
        "currency": "USD"
    },
    ...
}

I think this is bug.

@AErmek AErmek changed the title [bug] Webhook: when upgrade subscription in Android revenue.value is zero (invalid) [bug] Webhook: when upgrade subscription with chargeFullPrice policy in Android => revenue.value is zero (invalid) Dec 24, 2024
@gorgeoussamq
Copy link

Hi @AErmek would that be possible to reach us via [email protected] for further discussion and troubleshooting?

Copy link
Contributor

github-actions bot commented Jan 2, 2025

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the awaiting answers There is no activity for a while label Jan 2, 2025
@AErmek
Copy link
Author

AErmek commented Jan 3, 2025

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This is an issue, and I am currently waiting for the Qonversion team to provide a fix.

@github-actions github-actions bot removed the awaiting answers There is no activity for a while label Jan 3, 2025
Copy link
Contributor

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the awaiting answers There is no activity for a while label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting answers There is no activity for a while
Development

No branches or pull requests

2 participants