#ashishchicmic

1 messages · Page 1 of 1 (latest)

raven siloBOT
weak oasis
#

Subscription will generate the first Invoice, which inside it has the PaymentIntent, which inside it has the same client secret

fallow bloom
#
        customer,
        items: [
            { price },
        ],
        default_payment_method: cardId,
        collection_method: 'charge_automatically',
        transfer_data: {
            destination: config.STRIPE.ADMIN_CONNECT_ACCOUNT_ID,
            amount_percent: referralPercentages,
        },
    };
    if (!first) {
        data.default_payment_method = cardId;
    }
    return await stripe.subscriptions.create(data);```

can we still do the transfer by passing ```payment_behavior=default_incomplete``` ?
weak oasis
#

Hmm how payment_behavior relates to transfer? Sorry don't really follow your thoughts