#Nixon-keys and permissions

1 messages · Page 1 of 1 (latest)

pure turret
#

👋 happy to help

#

you'd have to check the permissions on your key

night whale
#

How do I check the permissions for my key? looking in the dashboard now

pure turret
#

you can edit the key

#

and see what restrictions are implemented there

night whale
#

Where do i edit the key?

pure turret
#

do you see the key ek_live_YW....?

night whale
#

No, the first two are 'pk_live' and 'sk_live, the bottom one is 'rk_live'

#

i can edit the bottom one, i get to a permissions screen but i am not sure which ones are missing to enable the stripe sdk for adding card to digital wallet

pure turret
#

could you please share the request id where you got that error?

potent pine
#

Those ephemeral keys don't appear on that dashboard page. Can you share the account ID acct_xxx from the error message? I can see exactly what you're doing and say what's wrong with it.

#

also do please share the exact code you're using in your Android app or your backend server that leads to this error!

night whale
#

acct_18p1smBtCeTGhDJc

#

googlePayButton.setOnClickListener {
PushProvisioningActivityStarter(
it.context.activity()!!, // The Activity or Fragment you are initiating the push provisioning from
PushProvisioningActivityStarter.Args(
"Stripe Card", // The name that will appear on the push provisioning UI
EphemeralKeyProvider(), // Your instance of EphemeralKeyProvider
true // If you want to enable logs or not
)
).startForResult()
}

#

@Parcelize
class EphemeralKeyProvider : PushProvisioningEphemeralKeyProvider {
override fun createEphemeralKey(p0: String, p1: EphemeralKeyUpdateListener) {

    p1.onKeyUpdate(Gson().toJson(ExampleJson2KtKotlin()))
}

}

potent pine
#

ok, you're using Issuing and that feature where you can create a card and provision it to the wallet of the device.

night whale
#

I got it to work now

#

data class AssociatedObjects(

    @SerializedName("type") var type: String? = "issuing.card",
    @SerializedName("id") var id: String? = "ic_1LNYjsBtCeTGhDJcQ6z9yCj4"

)
#

The id was wrong

#

sorry for the hussle