#deondk-ios-retrieve-intent

1 messages ยท Page 1 of 1 (latest)

muted nest
gentle sable
#

Ok so I am on xamarin with an outdated ios sdk

#

and cannot find the retrievePaymentIntent on here...

#

I need to confirm whether 3DS was successfull after manually sending user to 3dS url

#

there is an option for StartPollingSource

#

will this give me any info if transaction was successfull>

#

?

muted nest
gentle sable
#

No I am confirming payment intent on backend

#

then getting 3DS url and sending them to url to confirm

#

yes I think I am using payment methods

#

so now need to somehow confirm whether 3DS was success

#

in android I could retrieve payment intent to check

#

but cant find it available on the version I have here on xamarin

#

There is also a PaymentResult and PaymentStatus class

muted nest
#

Is the function I linked initially for retrieving a Payment Intent not available in your version?

gentle sable
#

No

#

so what I get back from the 3DS redirect is three paramters.

#

paymentintent

#

clientsecret

#

and source_redirect

#

only option I can see now is to import the .net Stripe sdk and then use that to retrieve on client side

muted nest
#

I'm not terribly familiar with Xamarin, but upgrading the iOS SDK that you're using seems like it would be the easier path.

gentle sable
#

not an option unfortunately. its not available. i am using the latest avaialble

#

where can I find the link to check how to retrieve payment intent on .net SDK

#

dont worry got it

#

getting an error no such payment intent: pi_3KnOoT2Z7qPIBjK41hTs1xrV

#

can you check if it exists on your side?

thin marsh
#

You should double check that you are accessing this using the correct account/context

#

Can you share the exact request ID that returns the error?

gentle sable
#

I am pretty sure I am

thin marsh
#

eg req_123

gentle sable
#

I am checking on dotnet side what is the status of payment intent

#

so sending over the payment intent

#

can I give you the test secret key ?

thin marsh
#

No, please do not.

gentle sable
#

StripeConfiguration.ApiKey = "";

                        var service = new PaymentIntentService();
                        var intent = service.Get(paymentIntent);
thin marsh
#

If you share a request ID I can see whether the request context matches

gentle sable
#

this is all im doing

#

where will I get the request ID?

thin marsh
#

From the response headers where you get the error

gentle sable
#

I cant get that as I am in Xamarin .net now

#

But I can see the pi in the account dashboard

#

pi_3KnP9q2Z7qPIBjK403bZlcm2

#

do I have to set the stripeaccount as well of the express account?

thin marsh
#

Yes, I suspect there is an issue with the conenct context if the PI is created under another account, you need to confirm it using the same context

gentle sable
#

it is creating under the correct account

#

and as far as I know I am putting the correct secret key

#

going to try adding this:

#

var requestOptions = new RequestOptions
{
StripeAccount = "",
ApiKey = ""
};

#

that works

#

thanks