#mahi_96911

1 messages · Page 1 of 1 (latest)

shut wadiBOT
#

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.

cold anchor
#

In our iOS app integrating stripe and create method id successfully and send method id to get payment intent id and client secret on that time doing three_d_secure method using below method

let paymentHandler = STPPaymentHandler.shared()
paymentHandler.handleNextAction(forPayment: main , with: self, returnURL: nil) { status, paymentIntent, handleActionError in

in this time secure page will open and show popup move on another app but not closing automatically if i mannualy press the close button code move to success

#

for reference

cosmic flax
#

Is "FMB" here standing for a different app than your app?

cold anchor
#

my app scheeme is FMB

#

but its shows another app

cosmic flax
#

Hmm what do you mean by shows another app? "Fusion Kitchen" is another app?

cold anchor
#

yes

cosmic flax
#

That could be scheme collision. They probably uses the same scheme

cold anchor
#

but i want close this page automatically

cosmic flax
#

So you don't want to even display this page at all, instead go directly back to your app

#

Not familiar with iOS Scheme recently but I think that's Apple's specific requiement and could be not possible to bypass

cold anchor
#

yes, if its present and auttomatically close

cosmic flax
#

Can you try using Universal Link instead of Scheme?

cold anchor
#

okay. when i get univeersal link

cosmic flax
cold anchor
#

okay , thank you

#

hi i am using this code in app delegate

func application(_ app: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
if userActivity.activityType == NSUserActivityTypeBrowsingWeb {
if let url = userActivity.webpageURL {
// Handle the URL, e.g., navigate to a specific view controller
print("Received Universal Link URL: (url)")
return true
}
}
return false
}

and its secure page like

cosmic flax
cold anchor
#

HSTS (HTTP Strict Transport Security): The error message indicates that HSTS is not allowed to set for the main document. HSTS is a web security policy mechanism that helps to protect websites against man-in-the-middle attacks such as protocol downgrade attacks and cookie hijacking. However, it might not be directly related to your Stripe integration.
To investigate this further, review your server's HSTS settings. Ensure that your server is configured correctly to support HSTS if needed. If you are unsure or if this is not within your control (e.g., if you are using a third-party server), you may need to contact the server administrator or support for assistance.

cosmic flax
#

Yeah that's the HSTS settings for Universal Link

errant drum
#

@cosmic flax , can you help me?