Giter VIP home page Giter VIP logo

Comments (15)

mkharibalaji avatar mkharibalaji commented on September 9, 2024

@voslartomas .

Can you exactly tell me how to reproduce this behavior ?
React Native Version :
iOS Version :
etc to understand hte problem or any screenshots to better understand the problem...

Can you please check whether you had added the redirecttcomponent in your swift file and other ios installation steps....

info.plist

CFBundleURLTypes


CFBundleTypeRole
Editor
CFBundleURLName
YOUR_APP_BUNDLE_NAME_UNIQUE(com.xxxx.xxxx)
CFBundleURLSchemes

YOUR_APP_URL_FOR_REDIRECT(Ex : CFBundleDisplayName-app)


``
import Foundation
import Adyen

@objc class AdyenObjectiveCBridge: NSObject {

@objc(applicationDidOpenURL:)
static func applicationDidOpen(_ url: URL) -> Bool {
let adyenHandled = RedirectComponent.applicationDidOpen(from : url)
return adyenHandled
}
}
``

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

If you call /payments api with additionalData: { allow3DS2: true } and you use test card with 3d secure, it should redirect you to confirmation page of the bank, but now, it's only loading and loading...

"react-native": "0.61.4"

Use this card:

5454 5454 5454 5454

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

Yes I have this redirect part in my app...

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

@voslartomas - Just now I tested with

https://docs.adyen.com/development-resources/test-cards/test-card-numbers#test-3d-secure-authentication

Adyen Test Card for 3DSecure Autehntication
International | 6731 0123 4567 8906 Expiry 10/20 CVV 737

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

And it redirects you?

For me it's doing this for this card, but for other cards, it's just ok.
example

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

It is working with React Native : 0.61.2
And iOS : 13.3
I am getting the redirection and it is working properly...
WhatsApp Image 2020-02-09 at 6 06 34 PM
WhatsApp Image 2020-02-09 at 6 05 43 PM

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

Wow sweet, so it's something on my side, thanks. Btw thank you for this repo, great work.

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

I had bumped the ios adyen sdk with 3.3.0 now and released a new version.Please update and check.

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

Still same...

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

What is this part about '3 . Configure info.plist with CFBundleURL for redirect URL in the PaymentData' ? Can you show me your example?

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

@voslartomas -Is the issue resolved ?

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

Not solved yet

I am getting this error.

---- Request (/payments) ----
{
  "amount" : {
    "value" : 30000,
    "currency" : "CZK"
  },
  "channel" : "iOS",
  "storePaymentMethod" : false,
  "reference" : "5aCZFmNCvrm7YDZsP-nNETxyBeGFkKivqJf",
  "shopperReference" : "XXXXXX",
  "shopperEmail" : "[email protected]",
  "returnUrl" : "sportbuddy:\/\/",
  "countryCode" : "CZ",
  "paymentMethod" : {
    "encryptedExpiryMonth" : "adyenan0_1_1$LTxFlGbXk+JgcW8\/b4WUUsZT1ZWfKgHVx0OC9WRqpoXKLn40oXc6ddXfPm6xn8Ihgd39wj+A1\/32Ut\/9G0KrD81mF4XeVCQsJ4DGJtkycDkFpBKewCAhTmORC7XikKkQFpNYcUuT\/fYodqidU+jdJuw1ylUepszBUTy94hOEmHsLacQ9Zn7eF48mTntO1VvoMgbAxaNckbFE2Cbcm5U1GeCc0ZiKoFfJxiPK8hO0huxABvJsDxolO2vPrNVUAjngbjR5BA4Gl3yAKGCswEzN3b4os776EVE4K\/cbqu4j2xVbEh\/\/Ft4+qSSmO5TerNnIwWqNVbFbkzDi3EkgXYwPJA==$Vf2JYK3n5Lz4tsOoE1HT0X2ABX2U2e5H+M\/+JGh4oLJE6kz2Ki5O3zQ0+sTXpBA2fqnTcr5cvOi4hxz7KE4G5Mph7ZcNzXeR1h7ZDGds5vk=",
    "encryptedSecurityCode" : "adyenan0_1_1$LktML8qkSbx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aQ338nKt7rVHEkCX3V7XVFmW2BYr5WP9bj32huYZGUudVRRiuXrj9xiV00ZGfsymoaMQGkILy2jn7C7p0HzT6olJkK2JumNqJBpVvdwS9ZdyXBh+7BRdNzFWhZ7MlSBr0+tYADN+YEGEu4Xhis3242BPzk6T\/m8Z\/Y809XgpZ764zVq61Gm9DTxH5OkB7EayAlHxGvDvUrYpLaUaaFFWLxnkGrchfpxhpZ0fGeVtuCHsw==$LTsQwRNmwPZqVoscThMvn9On8euwDeyOYFGIarVemVwHo9a5CV4Qws0IdEqIY0CLIfU6l1wCPnN2MkXFwFG+C+hl0kknPxJMGKCIsGsehejN6SkHeJccTNs="
  },
  "shopperLocale" : "cs_CZ",
  "additionalData" : {
    "executeThreeD" : true,
    "allow3DS2" : true
  }
}
 ---- Response (/payments) ----
NOT OK
APIClient Decoder error: dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around character 0." UserInfo={NSDebugDescription=Invalid value around character 0.}))).

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

@voslartomas - Can you open this in a different thread because it's a different issue in the API response

from react-native-adyen-payment.

voslartomas avatar voslartomas commented on September 9, 2024

@mkharibalaji It might be different issue, but it's still regarding 3DS, do you still want me to open another thread? This is not happening in normal payments without 3ds.

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

@voslartomas - Did you check "application/json" as content type in response headers from your server because this error usually comes when your response is not in JSON format or ContentType not set properly.

from react-native-adyen-payment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.