Giter VIP home page Giter VIP logo

Comments (5)

jesperjohansson avatar jesperjohansson commented on July 18, 2024

Are you running on a physical device? I know Apple Pay doesn't work in simulator and you also need to use Apple Pay Sandbox on your device.

If you are running on device with Apple Pay Sandbox already, run via XCode and check the debug console logs.

If you are still having problems you could check if v1.0.0 of this package works, I think I last tested Apple Pay somewhere around that version.

from react-native-adyen-dropin.

domtalbot avatar domtalbot commented on July 18, 2024

Can confirm, it still does not work on device with sandbox.

However, doing sandbox on device does provide the applePayToken in the request body. It's just the nulled amount which is the problem

-- Edit

By hardcoding the amount in my fake api for make-payment apple pay transactions do go through. Going to take a look at figuring out why the amount value just gets nulled when using apple pay

from react-native-adyen-dropin.

domtalbot avatar domtalbot commented on July 18, 2024

V1.0.0 yields the same result, still working on tracing why the amount gets nulled. Not too versed in swift so it's not the funnest time :)

from react-native-adyen-dropin.

jesperjohansson avatar jesperjohansson commented on July 18, 2024

@domtalbot Hey, if you still need a solution there is a new version v3.0.0 available now which I have confirmed Apple Pay works in. Migration instructions

from react-native-adyen-dropin.

domtalbot avatar domtalbot commented on July 18, 2024

Thanks for coming back, i did manage to get it working but with some questionable Swift coding. This will be useful.

from react-native-adyen-dropin.

Related Issues (8)

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.