Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some data isn't parsed in the details view #24

Closed
mxm1070 opened this issue Jul 15, 2020 · 0 comments · Fixed by #47
Closed

Some data isn't parsed in the details view #24

mxm1070 opened this issue Jul 15, 2020 · 0 comments · Fixed by #47
Labels
enhancement New feature or request

Comments

@mxm1070
Copy link

mxm1070 commented Jul 15, 2020

This package is fantastic, but I've noticed that Metadata and Fraud Details aren't parsed in the details view instead just displaying [object Object], and Dispute and Transfer Group probably aren't either.

If you retrieve the charge details you can see Metadata is provided from the api:

"metadata": {
    "order_uuid": "c0238381-ed8c-4585-8ec7-f21e7a6ac6f0"
    },

Likewise,

"fraud_details": {
    "stripe_report": "fraudulent"
    },

Although, because this doesn't provide much insight maybe it could be combined with the outcome field to give more info:

"outcome": {
    "network_status": "not_sent_to_network",
    "reason": "merchant_blacklist",
    "risk_level": "highest",
    "risk_score": 87,
    "seller_message": "Stripe blocked this payment.",
    "type": "blocked"
    },

Or even:

"failure_code": "card_declined",
"failure_message": "Your card was declined.",

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants