#sarox85

1 messages · Page 1 of 1 (latest)

tired anvilBOT
native perch
#

hi! you don't, you add an application_fee_percent instead

drifting patio
#

thanks work

#

Now I create a module for "subscriptions integration" and work, but can I add here application_fee_percent?

native perch
#

not sure what you're asking, did you have some specific code where you tried to pass it and it didn't work?

drifting patio
#

no, my code work. I managed to integrate the possibility of subscribing into a page

#

now I need using direct charge for this subscriptions

native perch
#

I see, and what was your question exactly?

drifting patio
#

how integrate direct charge in a subscriptions

#

in specific in a stripe->checkout->sessions->create

native perch
tired anvilBOT
drifting patio
#

$checkout_session = $stripe->checkout->sessions->create([
'line_items' => [[
'price' => $_POST['priceId'],
'quantity' => 1,
]],

#

yes

#

'mode' => 'subscription',

dense yacht
#

What's not working as you expect? Seems you're missing a few parameters my colleague shared above

drifting patio
#

this code work

#

now try add fee

dense yacht
drifting patio
#

ok, thanks now fee works

#

now I need add a connect account

dense yacht
#

Ok, what kind of Connect payments? Direct?

drifting patio
#

yes

#

direct charge

dense yacht
drifting patio
#

where sorry?

dense yacht
#

It's explained at the link in the message

drifting patio
#

oh ok sorry

old zodiac
#

Hi! I'm taking over from my colleague. Please, let me know if you have any other questions.