Skip to main content

Community

add price_segment_id column as PRIMARY KEY to the plan_currency_history primary key to Recurly Connector

Answered

Please sign in to leave a comment.

Comments

2 comments

  • Official comment

    Hi Ishita,

    Thank you for sharing the feature request regarding the Recurly Connector. We have added your request to our backlog and will prioritize it based on overall demand and impact. We understand the importance of accurately reporting on plan prices by region and price segment, and we will keep you updated on any progress and developments. If you have any further questions or need assistance, please feel free to reach out.

    Best,  
    Sanjeevv Maniram

     Hi! Wanted to add some Business impact to the request, from our sandbox data.

    1. We use regional pricing heavily. Each of our 2 active plans has 280 prices across 32 currencies. That is one base price per currency plus 248 price segments, and a single currency can carry up to 179 prices.

    2. Because plan_currency_history is keyed on plan_id, plan_updated_at, currency, those 280 prices collapse into 32 rows per plan, one per currency. The other 248 prices per plan, about 89%, are overwritten. The row that survives is always a segment price, never the base price, so the destination has no base price for any currency on either plan. The price_segment_id value on each surviving row is correct, but there's nothing to tell us which of a currency's prices it is.

     In practice:

    • We can't get list prices by plan, currency and region from the warehouse.
    • A subscription's charged amount can't be checked against the price it should have had.
    • Revenue can't be analysed by price segment, for example regional pricing tests and pricing changes.
    • Today the only workaround is a separate integration that calls the Recurly API, which defeats the purpose of using the connector. Adding price_segmentld keeps all the prices.


    Adding price_segment_id to the primary key would keep every price as its own row and fix all of the above. We're happy to share more detail or test a fix on our sandbox connection. This is one of the deciding factors in whether we use the Fivetran Recurly connector for production, so a rough timeline would help us a lot. 

    Thanks!