Im pretty new with app creation. i have a e-commerce website for which im creating the app. i used webview to load my URL which works fine. so when the users chooses a payment method , it gets redirected to banking app or to external url from the PSP and after that the success/failed payment page is opened in external browser. How can i redirect it to my app ? any samples or examples or documentations will be appreciated.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Im getting the below error with my webview. WKWebview loads a webpage and goes to payment page but the call back from payment page doesnot work. The app shows a balnk page and gives this error.Any body fixed this error ?
[assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2022-05-16 22:56:14.883387+0200 Buydeal[56073:4625324] [ProcessSuspension] 0x1150b0de0 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Background Assertion' for process with PID=56079, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
["statusFlag": 1, "confirmResult": {
customerDetail = {
directTopup = 0;
paymentMethod = "ideal";
skipSMS = 0;
trusted = 0;
};
invoiceID = sdLrhz1652515770;
message = "Unable to process the payment.";
products = {
product = (
);
total = 0;
};
status = 0;
}]
guard let jsonresponse = try JSONSerialization.jsonObject(with: jsondata, options: []) as? [String: Any] else { return }
let confirmresult = jsonresponse["confirmResult"]
im able to get the confirmResult. But i need to get one more level deeper and get the value of status . Can someone help how to parse further ?