Skip to content

How proration is working on dodo payments as I beleive there is a bug #124

Description

@taskeeper

Dear Team,

I need to understand how proration is working on dodo payments. Here is some details to help as you requested on Discord, first of all it is in test mode

Details are: subscription ID sub_0Nf1h5gBpCr6xWCbQ1ORG , plan pdt_0NcAosFHzvZbn9WYKth2c , price 12 * 12 which is 144 Euros, quantity before is 30 and after is 32, price shown by change plan review endpoint is 325.57 Euros, and period is less than 1 year which I expect to be 2 users * 144 users * period which is less than a year therefore the amount should be less than 288 Euros not 325.27 Euros.

Also when I change the quantity (i.e. number of seats/users) on same subscription plan, dodo payments resets the start and end ate of the billing period. so if the original start date of the billing period is first of the month and I added users in the middle of the month the start and end date of the billing period will change to middle to the month till middle of next month even if I used prorated_immediately flag in change plan API end point. I also tried prorated_immediately with next_billing_date but it didn't work, it has to be immediately.

Thanks
Ahmed ElKordy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions