#Roni007
1 messages · Page 1 of 1 (latest)
hi! did you do this part https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=android#connection-token and build a backend server that obtains a restricted key?
If so, can you share code your wrote for that backend server?
I have a guess which is that the problem is you passed Stripe-Account when calling stripe.terminal.connectionTokens.create() or something, and you don't need to pass that. Seeing the backend code would probably clear a lot of things up.
hmm... to be honest, I skipped the implementation of the backend part - just hardcoded the secret key in the TokenProvider (in android app) - was expecting that the initialization would fail if this was not enough.
Is there any way I could get around without needing to create server (I am still talking about proof of concept) ?
Hi! I'm taking over this thread.
I think you need a backend to get the secret needed by your client.
😂 oh dear, was hoping to skip this step. thanks
Note that the simplest way to play with Stripe Terminal is to use the server-driven integration covered here https://stripe.com/docs/terminal/payments/setup-integration
Server-driven integrations use the Stripe API instead of a Terminal SDK to connect to smart readers and collect in-person payments.
However note that this is only available in the US for now.