#ryan-Connect

1 messages · Page 1 of 1 (latest)

olive thicket
jagged rivet
#

hi

olive thicket
jagged rivet
#

sure

#

we're using a slightly our of date PHP binding: Stripe/v1 PhpBindings/7.117.0
does that matter?

#

i checked the changelog and couldn't see any mention of auto payment methods being added since then

#

but API seems to be the latest version (although im confused that the latest API version is from 2020?)

olive thicket
#

So you want to display other payment methods rather than card in the checkout page?

jagged rivet
#

yeh

#

i was told we had been added to a beta of "auto methods"

#

so any methods enabled on our connected accounts would show at checkout if we just omitted the payment_method_types flag

olive thicket
#

OK, have you enabled other payment methods on the connected account?

jagged rivet
#

but we've been trying to do this for weeks and haven't managed it yet 😅

#

yeh

#

we know they're enabled, because if we explicitly pass in klarna, it shows (and works)

#

but if we omit it, we only see card as an option on all connect accounts

#

this is our session request code

#

$session = \Stripe\Checkout\Session::create([
'line_items' => [[
'quantity' => 1,
'name' => 'Grand Total',
'amount' => $pricing['grand_total'] * 100,
'currency' => strtolower($params['currency'])
]],
'mode' => 'payment',
'locale' => $localeLanguage,
'metadata' => $stripeMetaData,
// 'payment_method_types' => $methods,
'customer_email' => $customerDetails['email'],
'client_reference_id' => $insertOrder['cart_session'],
'cancel_url' => $params['redirect_host'] . '#!/payment-cancel?session_id={CHECKOUT_SESSION_ID}',
'success_url' => $params['redirect_host'] . '#!/payment-success?session_id={CHECKOUT_SESSION_ID}'
], [
// store's connect account token to place order on its behalf
'stripe_account' => $storeHasGateway['gateway_token']
]);

olive thicket
#

Got it, give me a sec and let me check something

#

Thanks for the waiting, the automatic payment methods for Checkout Session doesn't work with Connect at this moment, but we are working on it.

jagged rivet
#

thanks...

olive thicket
#

That works for Checkout with your own Stripe account, e.g., if you make the request without the Stripe-Account header.

jagged rivet
#

sorry i'm getting a bit agitated now

#

i've been trying to get this resolved for over a month

#

and stripe support just sends me round in circles

#

that page i just sent CLEARLY talks about connect

#

now you're telling me it's only for my own stripe account? not for our connected accounts?

#

i have a whole email chain of stripe support telling me this is for connect

#

and that what we want to do is possible

#

we get very close, then it doesn't work, and we ask support and they revert back to the standard "this is for your own account, not connect"

#

it seems to me like you guys just dont know?

olive thicket
#

The page you provided is not public accessible, that means you are using a private beta feature

jagged rivet
#

correct

#

we were added to the private beta

olive thicket
#

Can I have your account ID so that i can check?

jagged rivet
#

sure

#

acct_1rwXb2g6DPIN2kjmBVca

olive thicket
jagged rivet
#

ok lets use another store to rule out CNY

#

i think i found the issue

#

there's a step missing form the instructions for the connected accounts

#

it doesn't inherit their store methods

olive thicket
#

OK, does it work now after enabling the payment method?

jagged rivet
#

it seems to, yes

#

only klarna is showing so far

#

but it's a start

olive thicket
#

OK. I'm very sorry for the trouble. I'd like to feedback this problem to the team.

Can I just confirm that you have to login to your connected account's settings and enable the payment methods? or you can enable the payment methods from your plaform?

jagged rivet
#

it seems they have to login themselves

#

and enable them on a "per platform" basis

#

all we can do our end is set them to "default off" or "blocked"

#

the only ones we can "default on" are card, apple pay and google pay

#

the flow isn't particularly bad, it's just lacking docs right now

#

and we've been getting sent round in circles

#

i appreciate its a private beta feature - but stripe should offer a dedicated support for people trying to use these features as the "standard" support isn't able to help

olive thicket
#

I'm truly sorry for this bad experience, can I have your email address so that I can see what conversations you had with Stripe support?

jagged rivet
#

sure

#

no need to apologise, its not your fault

olive thicket
#

Thanks, I've removed your email from the thread

#

I'll definitely feedback this and work with the team to improve the user experience.

jagged rivet
#

+1

#

thanks a lot for your help

olive thicket
#

Don't mention, feel free to drop by if you need any help.