#bhanu365

1 messages · Page 1 of 1 (latest)

clever grailBOT
vapid beacon
#

It doesn't seem like you have a 6 month recurring billing cycle set up on this Price price_1N7ZzKFmM52WOkSondq6gq6q. You have to set that to recurring per the error message: "The price specified is set to type=one_time but this field only accepts prices with type=recurring."

peak nova
#

price_1N7ZyWFmM52WOkSo3vbwuKUk
That is the price for recurring

vapid beacon
#

Right, but you are trying to add price_1N7ZzKFmM52WOkSondq6gq6q via the API call you referenced req_OW8VZCY9NKy1Kb. This Price is not recurring

peak nova
#

Then you can this request id: req_0ffXVHohBc7y3E

vapid beacon
#

The error message is similar for this one. I think the issue you're having is that you're trying to set both one-time payments and recurring payments on the same Subscription. Stripe doesn't allow you to do this. You would need either create a separate subscription for each, or alternatively you can just add a one-time Invoice Item to a recurring Subscription

peak nova
#

Can you give me a sample code according to my requirement?

#

I have already invested a significant amount of time into it, yet I find myself still on the same page.

vapid beacon
clever grailBOT
peak nova
#

Got it thanks