adorsys / adorsys/open-banking-gateway

Status for Consent results in 500 when redirect is not finished yet

Ouverte
#812 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
BE low priority
Langage dominant
Java
Étoiles
338
Forks
122
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When Initiate payment is done with
post /v1/banking/pis/payments/{payment-product}
any
get /v1/banking/pis/payments/{payment-product}
to returned handle fails as long as redirect has not finished.

Of course bank may not know payment, as redirect might not be finished yet but tpp does. So it can return status pending or anything similar. If this is regarded as a feature, please let us have a talk.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the flow with POST /v1/banking/pis/payments/{payment-product}, followed by GET for the returned handle before the bank redirect finishes. Trace the payment-status entry point that handles this GET and verify that an unfinished redirect returns a pending or equivalent status instead of HTTP 500.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
api, payments
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.