Comments (7)
Issue-Label Bot is automatically applying the label question
to this issue, with a confidence of 0.61. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from paypal-sdk-client.
@JasonTheAdams The platform can use GET /v1/customer/partners/{partner_id}/merchant-integrations/{merchant_id} API documented here to get the onboarding status at any time.
https://developer.paypal.com/docs/api/partner-referrals/v1/#merchant-integration_status
from paypal-sdk-client.
Hi @nixsin!
I'm afraid that doesn't actually address the issue. Please imagine the following scenario:
- User clicks on "Connect to PayPal" button
- PayPal window displays and the user starts going through process
- At some point the user decides not to complete the onboarding and closes the PayPal window
At this point, our application is in a weird state. Once the user enters the onboarding flow the application sits in limbo of two possible scenarios:
- The user is in the onboarding flow
- The user has canceled and left the flow
We know if they've completed the flow, but we have no way of discerning (that I'm aware of) whether the user is still filling things out or if they've canceled the flow. So using the endpoint you mentioned isn't really helpful, as we can't act on the status — after all, if it's incomplete that may simply because they haven't finished. But having not finished isn't the same as having canceled.
Does this make sense?
from paypal-sdk-client.
Hoping to hear back on this in some capacity. Are you able to provide some insight, @gregjopa?
Thanks! 😄
from paypal-sdk-client.
@JasonTheAdams Let me know if this will work for you: https://codepen.io/mnicpt/pen/zYBBXzX?editors=1011
from paypal-sdk-client.
@mnicpt Thanks for the workaround. I admit it feels pretty hacky, as it's observing the document to see whether a very specific class is present and changes. If the SDK arbitrarily changed that class name (and why would someone assume it's being strongly referenced by implementors?) then this would stop working. That said, it does seem to do the trick.
Is there a more first-class method somewhere in the pipeline, per chance? I'm fine with this kind of solution for some known length of time, but if it's the indefinite solution then that makes me nervous.
I hope that makes sense!
from paypal-sdk-client.
@JasonTheAdams Yeah. Unfortunately, there is not a first-class method anywhere.
from paypal-sdk-client.
Related Issues (20)
- Flow syntax error
- QUESTION: Where am I supposed to ask about webhook?
- PayPal CloudQuery Plugin?
- Njm
- Heliodoro Flores
- LinkACCOUNTXML
- Action Required: Fix Renovate Configuration
- Allow for switching between Orders and Subscriptions HOT 19
- Smart Button onError callback not firing HOT 21
- Specify orders versus subscription when displaying Smart Buttons HOT 13
- Allow to destroy existing hosted card field HOT 1
- Invalid authorization code HOT 2
- PayPal
- I think we still need the package.json, it contains the new version number. HOT 7
- https://github.com/mochajs/mocha/issues/4684#issuecomment-873504793 HOT 5
- >09.0.2 / 2021-07-03 HOT 5
- mochajs/mocha#4684 (comment)mochajs/mocha#4684 HOT 5
- https://github.com/mochajs/mocha/pull/4666paypal/paypal-sdk-client#83
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal-sdk-client.