#Zarizarblack

1 messages · Page 1 of 1 (latest)

bold owlBOT
alpine pendant
#

Could you provide an example Invoice Id? in_xxx. what payment options you expected?

alpine pendant
swift cape
alpine pendant
#

When you created it , you passed

  payment_method_types: {
    0: "card",
  },
#

You want to pass automatic_payment_methods.enabled = true

swift cape
#

how do i do that using thr api

#

this is the original invoice through my CRM i use to charge my clients. I want it to be set up where when the person presses pay it goes to the stripe checkout page that shows all the different payment options

alpine pendant
#

Hmm, are you integrating Stripe directly or via a 3rd party plugin?

swift cape
alpine pendant
#

Yes I did.

#

Do you have access to Stripe Dashboard?

alpine pendant
swift cape
alpine pendant
#

Yes, I mean it says your PHP server sent that request

#

Stripe/v1 PhpBindings/7.107.0

#

So it's somewhere on your own code

swift cape
#

im using the API

alpine pendant
#

Please remove this image

#

It has your sk_like key which shouldn't be visible here as a public forum

#

and looks like you are using a 3rd party plugin, not directly with Stripe

#

is this Woocommerce or WordPress like?

swift cape
#

Neither

#

Its a php script application called perfex

#

Its a crm

swift cape
alpine pendant
#

Yeah but they have the UI for you to puts key on, and then create Checkout Session on behalf of you

#

so they might have the option somewhere to enable automatic_payment_method

swift cape
#

So I modify it in the code

#

That’s all I have to do to make it display all my payment methods

alpine pendant
#

Not sure what you mean, did you modify to enable the automatic_payment_method?

swift cape
#

I’m not understanding where I’m supposed to do that

alpine pendant
#

Let's get in touch with perfex, ask them where you can set automatic_payment_method

#

They own the detail implementation of creating Checkout Session