ahmedelkhyary / hyperpay

MIT License
6 stars 18 forks source link

App not redirect back when i enter the credit card for testing #10

Closed mahmoud-adnan closed 1 year ago

mahmoud-adnan commented 1 year ago

Dear, App not redirected back when i select what transaction status i want to return to the device.

ahmedelkhyary commented 1 year ago

Hi bro I hope you are doing well

Which platform you are trying

mahmoud-adnan commented 1 year ago
Screenshot 2023-04-09 at 10 43 58 AM Screenshot 2023-04-09 at 10 44 15 AM Screenshot 2023-04-09 at 11 19 39 AM Screenshot 2023-04-09 at 10 42 57 AM Screenshot 2023-04-09 at 10 43 49 AM

Dears, Hope all is going well with you and Ramdan Kareem. I am working on the Flutter platform and I attached here screenshots and videos with my issue.

On Sun, Apr 9, 2023 at 9:20 AM Ahmed Elkhyary @.***> wrote:

Hi bro I hope you are doing well

Which platform you are trying

— Reply to this email directly, view it on GitHub https://github.com/ahmedelkhyary/hyperpay/issues/10#issuecomment-1501061053, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYYQNLI7CKS4X44PO5FEKDXAJPK7ANCNFSM6AAAAAAWXVRLOA . You are receiving this because you authored the thread.Message ID: @.***>

--

Mahmoud Saied Ibrahim Adnan

Mobile Technical Lead

M: +201007372385

E: @.***

Ibrahimadhraf commented 1 year ago

I have the same problem

ahmedelkhyary commented 1 year ago

If you pressed on click here to continue .. it will back to view or still stuck in browser

screenshot

mahmoud-adnan commented 1 year ago

Still stuck on the browser with no actions.

and that's the url from the browser not sure if that helps or not.

https://test.oppwa.com/v1/redirect.html?redirectUrl=msdk.demo.async://payment?id%3D3129A47AF7BC2A598A649B5F7D3E0FA3.uat01-vm-tx04%26resourcePath%3D/v1/checkouts/3129A47AF7BC2A598A649B5F7D3E0FA3.uat01-vm-tx04/payment&ndc=3129A47AF7BC2A598A649B5F7D3E0FA3.uat01-vm-tx04&target=_top&method=GET&shopOrigin

Thank you so much for your help and i hope you can help me out to get it fixed soonest,

On Sun, Apr 9, 2023 at 2:29 PM Ahmed Elkhyary @.***> wrote:

If you pressed on click here to continue .. it will back to view or still stuck in browser

[image: screenshot] https://user-images.githubusercontent.com/70061912/230772511-b10a6fa2-d3cd-45fd-aa66-35c5115f1297.PNG

— Reply to this email directly, view it on GitHub https://github.com/ahmedelkhyary/hyperpay/issues/10#issuecomment-1501118735, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYYQNMMDNY3DJI7SOHWLHLXAKTTRANCNFSM6AAAAAAWXVRLOA . You are receiving this because you authored the thread.Message ID: @.***>

--

Mahmoud Saied Ibrahim Adnan

Mobile Technical Lead

M: +201007372385

E: @.***

Amryasin commented 1 year ago

image can you please pass it from here and try again

Amryasin commented 1 year ago

make sure you path the shoper result url in both platform

mahmoud-adnan commented 1 year ago

Yes i am sure it's the same, if you can review my screenshots on second reply. shopperResultUrl = "msdk.demo.async" and in the info.plist :

CFBundleURLTypes
<array>
    <dict>
        <key>CFBundleTypeRole</key>
        <string>Editor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>msdk.demo.async</string>
        </array>
    </dict>
</array>

and

LSApplicationQueriesSchemes
<string>msdk.demo.async</string>

also i added the url scheme in xcode :

Screenshot 2023-04-09 at 3 26 23 PM Screenshot 2023-04-09 at 10 43 58 AM Screenshot 2023-04-09 at 10 44 15 AM Screenshot 2023-04-09 at 11 19 39 AM Screenshot 2023-04-09 at 10 42 57 AM Screenshot 2023-04-09 at 10 43 49 AM
mahmoud-adnan commented 1 year ago

Hi Brothers, just note that i am using the readyUI function.

Thank you so much for your support it's highly appreciated

Amryasin commented 1 year ago

can you please check example with the package in the exampe you create instance from hyperpay in the screen i provide upove or can you share code from your main where you configure the package in dart code ok

mahmoud-adnan commented 1 year ago

Dear Yasin, I downloaded the example code whose package name is com.testpayment.payment and tried again and i got the same result. I noticed that Hyperpay released a new version of SDK 4.12 and they use "self.shopperResultURL = self.shopperResultURL + "://payment" instead of ://result.

Now my project package name is "com.testpayment.payment" and I attached the project itself with my configurations.

Thank you so much for your help hyperpay-main 8.zip https://drive.google.com/file/d/1aQsOD0BdhGV3fIV5eMqKYezx6ItTjqDP/view?usp=drive_web

On Sun, Apr 9, 2023 at 7:04 PM Amr Yasin @.***> wrote:

can you please check example with the package in the exampe you create instance from hyperpay in the screen i provide upove or can you share code from your main where you configure the package in dart code ok

— Reply to this email directly, view it on GitHub https://github.com/ahmedelkhyary/hyperpay/issues/10#issuecomment-1501171399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYYQNIK5272262C2HRINTTXALTZJANCNFSM6AAAAAAWXVRLOA . You are receiving this because you authored the thread.Message ID: @.***>

--

Mahmoud Saied Ibrahim Adnan

Mobile Technical Lead

M: +201007372385

E: @.***

Amryasin commented 1 year ago

can you share code on github please

mahmoud-adnan commented 1 year ago

Dear Amr, Please find my project uploaded over there : https://github.com/mahmoud-adnan/hyperpay_sample_test_app

Thank you

On Sun, Apr 9, 2023 at 9:27 PM Amr Yasin @.***> wrote:

can you share code on github please

— Reply to this email directly, view it on GitHub https://github.com/ahmedelkhyary/hyperpay/issues/10#issuecomment-1501197052, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYYQNJPOTSUYFJROX7WHZ3XAMETHANCNFSM6AAAAAAWXVRLOA . You are receiving this because you authored the thread.Message ID: @.***>

--

Mahmoud Saied Ibrahim Adnan

Mobile Technical Lead

M: +201007372385

E: @.***

mohammedhasna2015 commented 1 year ago

i have the same problem , the web view not redirect to app when finish process

ahmedelkhyary commented 1 year ago

There is already an issue with redirect to the application again We'll work quickly to resolve the issue.

ahmedelkhyary commented 1 year ago

@Amryasin @mahmoud-adnan @mohammedhasna2015 @Ibrahimadhraf

We have released a new version 1.0.5 to solve this problem I hope that you are well

Amryasin commented 1 year ago

Thank's @ahmedelkhyary for this great work my friend