#fusionios_49211
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- fusionios_49211, 2 days ago, 19 messages
hello! i'm sorry but i don't understand, can you explain what's the behaviour you're expecting and what you're trying to do in more detail?
We have using stripe terminal ios sdk ,
creating payment intent from server side i got the response payment intent data then how to assing
below method paymentIntent: Terminal.shared.collectPaymentMethod(self.paymentIntent!)
have you taken a look at this guide? https://docs.stripe.com/terminal/quickstart
I get client_secret from server and fetch the data in below func but every time showing error loop?
func checkoutButtonAction() {
// ... Fetch the client secret from your backend
Terminal.shared.retrievePaymentIntent(clientSecret: clientSecret) { retrieveResult, retrieveError in
if let error = retrieveError {
print("retrievePaymentIntent failed: (error)")
}
else if let paymentIntent = retrieveResult {
print("retrievePaymentIntent succeeded: (paymentIntent)")
// ...
}
}
}