mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Cover EveryPay / BankLink payments with tests
This commit is contained in:
parent
b6469f3dfe
commit
6418924faf
7 changed files with 145 additions and 61 deletions
13
test/fixtures/payment_orders.yml
vendored
13
test/fixtures/payment_orders.yml
vendored
|
@ -1,20 +1,27 @@
|
|||
issued:
|
||||
everypay_issued:
|
||||
type: PaymentOrders::EveryPay
|
||||
status: issued
|
||||
invoice: one
|
||||
response:
|
||||
notes:
|
||||
|
||||
banklink_issued:
|
||||
type: PaymentOrders::Seb
|
||||
status: issued
|
||||
invoice: one
|
||||
response:
|
||||
notes:
|
||||
|
||||
paid:
|
||||
type: PaymentOrders::EveryPay
|
||||
status: paid
|
||||
invoice: one
|
||||
invoice: unpaid
|
||||
response: "{}"
|
||||
notes:
|
||||
|
||||
cancelled:
|
||||
type: PaymentOrders::Seb
|
||||
status: cancelled
|
||||
invoice: one
|
||||
invoice: unpaid
|
||||
response: "{}"
|
||||
notes: User failed to make payment. Bank responded with code 1911
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue