How to override unit_amount_in_cents for subscription?

I use the recurly json based api to make a call for a subscription, but it looks like a card is always charged for what the plan value is. I am trying to change the unit value for a plan by sending unit_amount_in_cents to a subscription object, but it does not work.

Here is the call information:

End point: https://api.recurly.com/jsonp/:subdomain:/subscribe?callback=cbFunc

Data:

subscription[plan_code]:<plan code>
subscription[quantity]:1
subscription[currency]:USD
subscription[unit_amount_in_cents]:2
account: <Account object>
billing_info: <biling info object>
signature: <signature>

The problem is that it always charges that value of the plan per unit, instead of charging 2 cents.

+4
source share
1 answer

Recurly.js v2 does not support default pricing overrides for a subscription plan.

+2
source

Source: https://habr.com/ru/post/1628774/


All Articles