#Rahul Maru

1 messages · Page 1 of 1 (latest)

ripe grailBOT
polar dagger
#

Can you share the payment_intent Id ?

fresh gulch
#

no i am using stripe elements and in that we are using blik we want to see blik inside stripe elements

#

right now we want to use it in the mobile payment elements

polar dagger
#

Yes you mean Stripe PaymentSheet

#

Can you share the PayementIntent that you are doing the tests with ?

fresh gulch
#

ok sure wait

#

{
"message" : "Successful",
"data" : {
"clientSecret" : "pi_3OZYPBHUrndEUSYd0sRdw2TF_secret_DS5KbPcuXQ2FGMUc8Y8OSjYIz",
"ephemeralKey" : "ephkey_1OZYPBHUrndEUSYdHBkBE5sZ",
"ephemeralSecret" : "ek_test_YWNjdF8xTmZVUGNIVXJuZEVVU1lkLE5HT3B0MUREN0NGeWZaamlqdFM1S2V1S0pPUXEyMng_00FKjoBEUq",
"customer" : "cus_POGQpYQAagq4d2",
"publicKey" : "pk_test_51NfUPcHUrndEUSYd4E9FBM0G2CL2WgRejRImsNcGh0IxJ2r5Pcku45FePJyfugKOJCvZFimUTOEDhJyFnEw388Jl00kqLfE93P"
}
}

polar dagger
#

Thanks let me check!

fresh gulch
#

"id": "pi_3OZYHxHUrndEUSYd0K9MLrEs",

polar dagger
#

You've provided setup_future_usage: on_session which is not supported for blik

#

You need to remove it

#

in order to have Blik option

fresh gulch
#

but we have card option as well in which we need this

#

if i pass off_session will it work

#

@polar dagger because we need this

#

we have a multiple payment options in the stripe

polar dagger
#

Blik doens't support on_session future usage.

#

You need to update your integration accordingly

fresh gulch
#

what if we use off_session it will work @polar dagger

polar dagger
#

Yes it should

#

if not share with me the resulting new Paymentintent and we'll double check this together

fresh gulch
#

ok wait give me 5 mins

#

"id": "pi_3OZYdWHUrndEUSYd1spUq6yu",

{
"message" : "Successful",
"data" : {
"clientSecret" : "pi_3OZYdWHUrndEUSYd1spUq6yu_secret_5UAVS6ItfkjewUlcNI53oMld1",
"ephemeralKey" : "ephkey_1OZYdVHUrndEUSYdDAPuySRH",
"ephemeralSecret" : "ek_test_YWNjdF8xTmZVUGNIVXJuZEVVU1lkLFBvRVU4T1NiOW9FVlZ4VmFGS0Z6RU5XSDc3UGhYOEM_008j58AlPO",
"customer" : "cus_POGQpYQAagq4d2",
"publicKey" : "pk_test_51NfUPcHUrndEUSYd4E9FBM0G2CL2WgRejRImsNcGh0IxJ2r5Pcku45FePJyfugKOJCvZFimUTOEDhJyFnEw388Jl00kqLfE93P"
}
}

#

@polar dagger

polar dagger
#

Thanks, let me check...

fresh gulch
#

ok

#

@polar dagger are you there

polar dagger
#

Ok I see, you simply need to remove setup_future_usage

fresh gulch
#

but i have told you we have card payment option as well and we need it for future usage what we can do about that

#

elements opens all the payment methods at once

#

so how we can manage it

#

card we want it for future usage

true sky
fresh gulch
#

what is p_m_o and s_f_o

#

in the stripe

true sky
#

setup_future_usage. I just sent you the API reference for the parameter(s)

fresh gulch
#

let me check

#

automatic_payment_methods: { enabled: true }
and
payment_method_options.card.setup_future_usage

can we use both together

#

stripe.paymentIntents.create

#

in this

#

@true sky @polar dagger

true sky
#

Yep!

fresh gulch
#

wait let me test

true sky
#

Did it work?

fresh gulch
#

yes on it 2 mins

#

yes it is working thanks

true sky
#

I'm going to go ahead and close this thread now, but we'll be back in a couple hours if you've any follow-up questions!

fresh gulch
#

what we need to put in blik code for testing

#

in stripe elements

#

this is the last question only

true sky
#

Nothing really, it should just be there assuing the payment meets the critera

#

What's the pi_xxx ID?

fresh gulch
#

"id": "pi_3OZZ4EHUrndEUSYd0OMTkTJo",

#

{
"message" : "Successful",
"data" : {
"clientSecret" : "pi_3OZZ4EHUrndEUSYd0OMTkTJo_secret_KyMKGKzz2Dk5IKfruX5yTRXWn",
"ephemeralKey" : "ephkey_1OZZ4DHUrndEUSYdi8cAnu7h",
"ephemeralSecret" : "ek_test_YWNjdF8xTmZVUGNIVXJuZEVVU1lkLEl6enlJUm0xMGVjeVZRdm9wd2tZbnpJUDV0UzIxQUY_00tMGGNe3r",
"customer" : "cus_POGQpYQAagq4d2",
"publicKey" : "pk_test_51NfUPcHUrndEUSYd4E9FBM0G2CL2WgRejRImsNcGh0IxJ2r5Pcku45FePJyfugKOJCvZFimUTOEDhJyFnEw388Jl00kqLfE93P"
}
}

true sky
#

Which SDK is this?

#

Android?

fresh gulch
#

Stripe Element Android

#

yes

true sky
#

Which version of the SDK are you using?

#

Because BLIK should be there for that payment

fresh gulch
#

com.stripe:stripe-android:20.36.1

true sky
#

Oh, it is there. What's the question exactly?

#

You just enter any 6 digit code

fresh gulch
#

what we need to put the blik code for testing