#justin.li

1 messages · Page 1 of 1 (latest)

deep jungleBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

languid socket
#

I'm using the Java SDK. How can I specify a billing anchor point when creating a session to make the user pay 12 MXN?

cyan dove
#

Hi there, is your question about subscirption mode checkout session or payment mode checkout session?

languid socket
#

Currently, the first deduction from the user is 2.99 MXN, and you mentioned that the billing anchor point has been reset. How should I handle this to ensure the initial deduction is 12 MXN for the user?

cyan dove
#

Can you tell me what you want to achieve? how frequently do you want your customer to be charged of 12 MXN?

languid socket
#

I want to deduct 12 MXN each time, not the adjusted amount.

cyan dove
#

Ok, so you want to add an additional item to the subscription, so that Stripe can automatically charge the customer for the base item + additional item in each subscription renewal?

languid socket
#

After a successful subscription, users should pay 12 MXN for each billing cycle, including the initial payment, without any price adjustments.

#

If there is a price adjustment, I don't want the scenario where the initial payment is less than 12 MXN to occur.

cyan dove
#

OK. so basically you want to disable proration. So in your update subscription API call, you can set proration_behavior to none

languid socket
#

When I set the parameter proration_behavior=None while creating a session object, an error occurs, and it requires me to specify billing_cycle_anchor. However, billing_cycle_anchor only applies to the time period of the next cycle.

cyan dove
#

No, you don't specify it when creating the session, you specify when you want to update the subscription.

#

So basically two steps:

#

1, Create a checkout session with the base price as per normal

#
  1. Once the customer has subscried successfully, call the subscription udpate API to include the additional price for MXN 12, and set proration_behavior to none to disable proration.
languid socket
#

However, the user's initial payment triggered an automatic adjustment, deducting an amount lower than 12 MXN. If adjustments are made after the subscription is completed, this issue is not resolved.

cyan dove
#

I don't quite understand, is there a subscription ID that you can share with me?

languid socket
cyan dove
#

A subscription ID starts with sub_

languid socket
cyan dove
#

I don't see you updated the subscription with the additional MXN 15 item.

sonic moss
#

why does there have 2.99 MXN fee? we just set the subscriptio is 12.00 MXN

#

and just happen in the first time, the second cycle doesn't have the additional fee.

cyan dove
sonic moss
#

Or could you explain to me why there have the 2.99 MXN? why do we need to charge the fee?

cyan dove
#

I've already explained the MXN 2.99, see my earlier message.

As I told you earlier, the minimum charge amount of MXN is 10. So for invoice amount < the minimum charge amount, Stripe will accumulate the unpaid amount to the next invoice, until the invoice amount is > the minimum charge amount.

languid socket
#

I noticed the initial subscription deduction was 2.99, so I canceled the subscription because our system cannot handle it. What I need now is the initial deduction to be 12.

sonic moss
languid socket
cyan dove
languid socket
#

Are you saying that 2.99 is the tax?"

#

Why is this subscription not deducting the fee of 12? I find it very strange.