#Vakarm

1 messages · Page 1 of 1 (latest)

river violetBOT
vernal garnet
#

Thank you for the details. Looking in to that. Does your code get any errors when that shows up?

opal marten
#

the only error I catch is a string saying "Error"
but I also get a log, I'll paste it here

#

2023-01-11 10:42:30.811396-0500 Minute Pizza[52312:4140972] LOG ANALYTICS: ["bindings_version": "23.3.1", "apple_pay_enabled": 1, "event": "stripeios.token_creation", "app_version": "1.0", "ocr_type": "none", "os_version": "16.2", "product_usage": ["STPApplePayContext"], "device_type": "x86_64", "token_type": "apple_pay", "publishable_key": "unknown", "app_name": "Minute Pizza", "pay_var": "legacy", "install": "S", "additional_info": [], "analytics_ua": "analytics.stripeios-1.0"]

I noticed the "publishable_key" is unknown, but it isn't set anywhere in the tutorial so... I'm not sure it's relevant

vernal garnet
#

Are you using any keys on the client side at the moment? Like an ephemeral key? Checking in to what is required here

opal marten
#

no Stripe keys on the client side. But I use my apple pay merchant id.

vernal garnet
opal marten
#

ok the STPPaymentConfirugration must be set Client Side then?

#

or maybe it is set server side so It would explain why it's not shown in the tutorial

vernal garnet
#

STPPaymentConfirugration is a client side object

opal marten
#

Ok, I have to set it before creating the intent of before processing the payment?

#

It works, payment is done 🙂

vernal garnet
#

Great to hear!

opal marten
#

Y'oure the man!, or the woman... you chose :p

vernal garnet
#

Yeah just before your app tries to process the payment I think, but usually it is done when the app is starting up

opal marten
#

thanks a lot