#tarachand_369

1 messages · Page 1 of 1 (latest)

ember tinselBOT
jovial zinc
#

Hi there!

#

How can I help?

uncut viper
#

I want to add subcrjption price Each Additional user

jovial zinc
#

What do you mean by "add subscription price" and "each addional user"? Can you give a concrete example?

uncut viper
#

like this

jovial zinc
uncut viper
jovial zinc
#

Yes, check the link above. And you can add two price for your subscription: one for the primary user, and another for each additiona user.

uncut viper
#

Will be automatic cut additional user amount

#

?

jovial zinc
#

I don't understand sorry.

uncut viper
jovial zinc
#

I'm sorry I don't understand your question. What exactly is the issue?

uncut viper
#

okay ma'am second question is : How to pass extra charges in subscription

jovial zinc
#

Recurring charges or one time charges?

uncut viper
#

yes ma'am

#

both

#

please give me code for this

ember tinselBOT
uncut viper
#

$monthly_price = $stripe->prices->create([
'product' => $product->id,
'unit_amount' => $request->monthly_price * 100,
'currency' => 'usd',
'recurring' => ['interval' => 'month'],
]);

        $yearly_price = $stripe->prices->create([
            'product' => $product->id,
            'unit_amount' => $request->yearly_price * 100,
            'currency' => 'usd',
            'recurring' => ['interval' => 'year'],
        ]); how to pass charges in this code
robust pewter
#

what charges you want ot pass ? this code creates a Price and a Product

#

what you want to achieve exactly ?