#EatStations

1 messages ยท Page 1 of 1 (latest)

autumn crescentBOT
steady fable
#

hello! what's the error?

steady spade
#

tried after an hour but same error comes

steady fable
#

what's the PaymentIntent or SetupIntent id?

#

and the corresponding request id where you got that error?

#

please don't paste your ephemeral keys here

#

this is a public channel

steady spade
#

ok

#

pi_3MqTV2JiUwDR4rw60yt5W5ok_secret_rxvwbrLIuf303pLMCII1djU7T

#

pm_1MqPtWJiUwDR4rw6ZFVyq8nf
this is live testing

#

another "pm_1MqOQRJiUwDR4rw6p9PIUAYB"

steady fable
#

what were you trying to do when you got that error message? the exact line of code which threw that error? And the full error / stack trace?

steady spade
#

we are checking from device and getting the attached error

#

iPhone app - apple pay

#

I am following this

#

var configuration = PaymentSheet.Configuration()
configuration.applePay = .init(
merchantId: "merchant.com.your_app_name",
merchantCountryCode: "US"
)
after putting correct info, I got apple pay button

#

stripe admin also added merchant id and certificate

#

Apple pay - works from our website

#

doesn't work in our app

#

card payment works from app

#

You there?

autumn crescentBOT
tiny token
#

๐Ÿ‘‹ Taking over this thread, catching up now

steady spade
#

ok

#

Simulator I am getting this error

#

when I do apple pay

#

maybe its in live mode - thats why

tiny token
#

Are you using live mode key in simulator?

#

Can you try using test mode key and check if it works?

steady spade
#

But I am getting error on my iPhone device

#

my integration is live, so cannot switch on TestMode

tiny token
#

Does the error message in iPhone the same as the one in simulator?

steady spade
#

in iPhone, I am getting this error

tiny token
#

Are you able to get any more error message other than this from the loggings? This error is only visible in client/iPhone device itself and we don't have any log to trace the details of this error message

steady spade
#

Here is Payment ID - pm_1MqPtWJiUwDR4rw6ZFVyq8nf

#

can you check whats the issue?

tiny token
#

The only pending action is to capture the Payment Intent

steady spade
#

let me check

#

wait it was done from web, let me try from iPhone device

#

TestMode checked all seems working - Apple too in Simulator

tiny token
#

That's good! Sounds like the integration is working fine

steady spade
#

but not working on live mode on iPhone device

tiny token
#

Can you share the Payment Intent that was made in live mode on iPhone?

steady spade
#

I have done bit changes in code, let me send TestFlight and I can check after that

tiny token
#

Yup, sure

steady spade
#

Seems working now. Thank You ๐Ÿ™‚