#o.m

1 messages ยท Page 1 of 1 (latest)

ruby fogBOT
icy gust
#

๐Ÿ‘‹ happy to help

heavy sluice
#

Hello

icy gust
#

are you creating the schedule from an already existing Subscription?

heavy sluice
#
 $subscription = SubscriptionSchedule::create([
            'customer' => $user->stripe_id,
            'start_date' => 'now',
            'end_behavior' => 'release',
            'phases' => [
                [ #1st phase
                    'items' => [
                        [
                            'price' => 'price_1MAurKLsPtHyA4EUcpznZgFL',
                            'quantity' => 1,
                        ]
                    ],
                    'iterations' => 3,
                ],
            ]
        ]);

nope.. its a new customer then new subscription. but this is how it looks

icy gust
#

why do you need to create a schedule then

heavy sluice
#

we are to bill the customer once every 3rd month from what I recall or i am using the wrong method here?

icy gust
#

this seems to me as a normal subscription

heavy sluice
#

I see.. so the normal subscription would suffice my need..
how to bill it every 3rd month only?

#

whats the diff between subscription and scheduled subscription?

icy gust
#

do you want the subscription to start on the 3rd or just having it billed on the 3rd?

heavy sluice
#

have the payment of subscription at the beginning then for every 3rd month next

#

and also save the card details after subscription payment is okay

icy gust
heavy sluice
#

okay2.. when I set the billing cycle anchor do i need to update the subscription details again (billing cylcle anchor) if I already passed the date of billing cycle anchor?

icy gust
#

no the customer will pay a proration for the first period up until the 3rd of the next months and then full price

#

for the subsequent invoices

heavy sluice
#

Its not the full price right. during the first payment

icy gust
#

by default it's going to be prorated

heavy sluice
#

about the billing cycle anchor. not quite sure how this works. but if I set an anchor like 3 months from now april. this will automatically bill every next 3 months ? is this right?

icy gust
#

no

#

this means that the first couple of invoices will be anchored to now and the last one before the billing_cycle_anchor would be prorated

#

if I'm not mistaken

#

it's been a while since I tested these scenarios to be honest

heavy sluice
#

question. on the subscription plan, is there a way to save the payment details?

#

on a successful payment

icy gust