Add support for voiding a Capture or Credit

Aperta
#61 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
html, ruby
Ambito
frontend, payments

Direzione di ricerca

Leggi app/models/kaui/payment_state.rb in relazione ai vincoli collegati e ispeziona il riferimento alla proprietà del plugin in killbill-plugin-framework-ruby/lib/killbill/helpers/active_merchant/payment_plugin.rb. Traccia come le azioni delle transazioni vengono visualizzate nella UI e come viene passato linked_transaction_type. Il lavoro è completato quando la UI espone azioni di void per le transazioni Capture o Credit idonee senza presumere le capacità del plugin.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement missing-kb-support

Some gateways (e.g. CyberSource) support voiding captures and credits. From the documentation:

A void cancels a capture or credit request that you submitted to CyberSource. A
transaction can be voided only when CyberSource has not already submitted the capture
or credit request to your processor. CyberSource usually submits capture and credit
requests to your processor once a day, so your window for successfully voiding a capture
or credit request is small. CyberSource declines your void request when the capture or
credit request has already been sent to the processor.
You cannot perform a follow-on credit for a transaction that has been voided.
You cannot undo a void.

When you void a capture, a hold remains on the unused credit card funds. If you are not
going to re-capture the authorization as described in "Capture After Void," page 71, and if
your processor supports authorization reversal after void as described in "Authorization
Reversal After Void," page 39, CyberSource recommends that you request an
authorization reversal to release the hold on the unused credit card funds.

If your processor supports multiple captures, you can capture an authorization after you
void previous captures associated with the authorization.

While we cannot know in Kaui the capabilities of the plugin (yet -- see proposal for per-plugin state machines), we should relax the current constraints in the UI and add links to void specific transactions.

For the plugin to find the original transaction reference, we can pass the linked_transaction_type plugin property.

Lingua principale
HTML
Stelle
69
Fork
75
Merge medio
2g 20h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di killbill/killbill-admin-ui

Tutte le issue di killbill/killbill-admin-ui

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.