elementary / elementary/appcenter

Missing Payment issue details?

Open
#1,862 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
554
Forks
104
Avg merge
15h 57m
Merged PRs (30d)
2

Description

### What Happened?

I'm getting a unhelpful payment error when trying to pay for [Picker](https://github.com/phoneybadger/picker):
![Screenshot from 2022-06-10 11-55-05@2x](https://user-images.githubusercontent.com/523210/173040715-2bc31e51-b1c7-4b01-a352-a2efb195d557.png)

Event though when I look at the logs I'm getting useful info:
```
StripeDialog.vala:459: Houston data:{"errors":[{"code":"StripeInvalidRequestError","title":"Error","detail":"As per Indian regulations, only registered Indian businesses (i.e. sole proprietorships, limited liability partnerships and companies, but not individuals) can accept international payments. More info here: https://stripe.com/docs/india-exports"}]}
```

### Steps to Reproduce

1. Go to [Picker](https://appcenter.elementary.io/com.github.phoneybadger.picker) in AppCenter app
2. Press fund
3. Enter payment details

### Expected Behavior

Seeing useful information. Like the details I'm seeing in the Stripe error:
``` json
{
"errors": [
{
"code": "StripeInvalidRequestError",
"title": "Error",
"detail": "As per Indian regulations, only registered Indian businesses (i.e. sole proprietorships, limited liability partnerships and companies, but not individuals) can accept international payments. More info here: https://stripe.com/docs/india-exports"
}
]
}
```

### OS Version

6.x (Odin)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell
** (io.elementary.appcenter:54505): DEBUG: 11:52:01.532: StripeDialog.vala:459: Houston data:{"errors":[{"code":"StripeInvalidRequestError","title":"Error","detail":"As per Indian regulations, only registered Indian businesses (i.e. sole proprietorships, limited liability partnerships and companies, but not individuals) can accept international payments. More info here: https://stripe.com/docs/india-exports"}]}
```

### Hardware Info

### Other details
This issue is about missing details, but I've also notified Picker of this specific payment problem:
https://github.com/phoneybadger/picker/issues/3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.