Code Monkey home page Code Monkey logo

Comments (7)

tdchow avatar tdchow commented on September 1, 2024

Hey @lorenzolopez928 - Few questions to help debug this issue:

  1. Are you able to reproduce this issue every time you checkout with the SDK?
  2. Can you provide all of the CorrelationIds in the ErrorInfo object that's returned in the OnError callback?

from android-checkout-sdk.

lorenzolopez928 avatar lorenzolopez928 commented on September 1, 2024
  1. Are you able to reproduce this issue every time you checkout with the SDK?
    Every time I checkout with the sdk i get this error in LIVE mode.

  2. Can you provide all of the CorrelationIds in the ErrorInfo object that's returned in the OnError callback?
    The error its not coming in error callback, just here

approval.orderActions.capture(object : OnCaptureComplete {
                            override fun onCaptureComplete(result: CaptureOrderResult) {
                                alertDialog.dismiss()
                                Log.e("PAYPAL CaptureOrder", String.format("CaptureOrderResult: %s", result))  //Here I can see the information of the error.
                                if (result is CaptureOrderResult.Success) {
                                    //...
                                } else
                                    AlertDialog.Builder(this@PackageCoinsActivity)
                                            .setTitle("Error")
                                            .setMessage("Ha ocurrido un error efectuando el pago.")
                                            .setCancelable(true)
                                            .setPositiveButton("Cerrar") { dialogInterface, i -> dialogInterface.dismiss() }
                                            .show()
                            }
                        })

from android-checkout-sdk.

tdchow avatar tdchow commented on September 1, 2024

Can you try clearing your app data and try the checkout process again?

Would you also be able to share your client ID here? I can try looking up your Live app to make sure everything is set up properly.

from android-checkout-sdk.

lorenzolopez928 avatar lorenzolopez928 commented on September 1, 2024

Hi, thanks for the response, this is my CLIENT_ID in LIVE
AdpuP9npnFtPPy5motOKzr5EglnWvbKjGwWWqXG9tCItxeeUHBfjBsjflQQwA6EOnQVzJHRfUFn93avl

I cleared my app data, but when made the login, Paypal redirects me to login page again. I closed the web prompted by the sdk and tried again and it worked, but this is not the desired behavior.

from android-checkout-sdk.

tdchow avatar tdchow commented on September 1, 2024

Hey @lorenzolopez928 - I just looked up your live account and everything seems to be set up properly.

After clearing app data is everything working properly? Did you switch over to live from the sandbox environment? I'm wondering if some data persisted for when sandbox was run that caused issues in live.

from android-checkout-sdk.

lorenzolopez928 avatar lorenzolopez928 commented on September 1, 2024

Hi @tdchow , now the integration is working properly. Thanks.

from android-checkout-sdk.

tdchow avatar tdchow commented on September 1, 2024

@lorenzolopez928 - Great to hear! And no worries at all!

from android-checkout-sdk.

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.