omise / omise-ios

Omise iOS SDK
https://www.opn.ooo
MIT License
74 stars 36 forks source link

Does Omise iOS SDK support True Money full payment flow natively? #124

Closed kittisak-phetrungnapha closed 1 year ago

kittisak-phetrungnapha commented 3 years ago

Hello,

I read this https://www.omise.co/truemoney-wallet and found the image below

Screen Shot 2563-12-24 at 15 19 34

I am just curious that where should I authorize payment (change charge status pending to be success or failure status)? Use authorize_url in and return_url in webview or it can be done completely on Omise iOS SDK?

Thanks,

igroomgrim commented 3 years ago

@itopstack For authorizing payment, you need to open an authorize_url in WebView for complete authorization. You can use your WebView to open an authorize_url or use the factory method that Omise SDK provided to handle authorizing payment and you can look at the Authorizing Payment section. 🙇

kittisak-phetrungnapha commented 3 years ago

@igroomgrim Thanks for your information. Then we cannot custom ui for OTP screen?

Thanks,

igroomgrim commented 3 years ago

@itopstack Correctly, we can't for now. 😄