#dannyboy

1 messages ยท Page 1 of 1 (latest)

opaque plinthBOT
lament perch
#

๐Ÿ‘‹ happy to help

#

you can just search for from:dannyboy#2189 and you will get all the previous messages you sent on this channel

copper meadow
#

thanks a lot

lament perch
#

let me know if you need any more help

copper meadow
#

nothing, it's in there, just need to back read

lament perch
#

sure ๐Ÿ™‚

copper meadow
#

question on this

#

it says UTC format...

#

like this? "2023-01-11 10:32:33 UTC"

lament perch
#

it's more like 1611008505

copper meadow
#

ty

copper meadow
#

Hi i have question with recurring subscription that will starts collecting money 1.month from now without using trial period days. It's more like the first month is free

#

wanted to know if my approach will work

#

when i create subscription, i'll set billing_cycle_anchor to Today + 1.month..

lament perch
#

if the first month is free, why not use trial period days?

copper meadow
#

our flow is a bit complicated one.. We are in the process of changing CardElement with PaymentElements to support ApplePay.
They will be purchasing a recurring item there plus several one-time item. We will be handling manual transfers to organization.

Can't use trial period days because user really pay for the first month..

#

so when we create PaymentIntent, the amount is already summed..

like we will be collecting 150$ ..
50$ -> goes to managed_account1
50$ -> goes to managed_account2
40$ -> this is the recurring item
10$ -> platform share...

#

i'm planing to create the subscription object once the payment is completed.. and transfers to managed_account is complete..

#

any idea on how to make it more simple?

lament perch
#

@copper meadow you invoked several topics here

#

let's start to discuss one by one

copper meadow
#

i like that..

lament perch
#

if you just want to start a subscription at a later time (in the future), this is not possible with the create Subscription API

#

instead you should use SubscriptionSchedules

copper meadow
#

ok

#

i'll try that

#

subscription object is not created right away when creating SubscriptionSchedule that start date = Date.today + 1.month?

lament perch
#

I'm not sure, would you mind testing it

copper meadow
#

hmm ok