Gaetan Craig-Riou
7790259c27
Add transaction origin for internal credit payments
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
ec106a8f83
Add new payment method ApiCustomerCredit
...
It was previously modelled by a "Check" payment method
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
2e7237197a
Refactor customer credit payment method
...
Set fixed name and description
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
3b068b7125
Add created_by to customer account transactions
...
It allows tracking of who credited the customer via :
- customer account transaction API
- order payment screen
2026-03-10 16:07:43 +11:00
Gaetan Craig-Riou
d95aac333b
Add internal to payment method
...
It's used to hide the payment method used for paying with credit. These
payment method are for internal use only.
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
d5bd8fa086
Add ability to "void" a customer credit payment
...
Voiding the payment will refund the credit used to the customer.
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
5a376c9106
Add customer_credit scope
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
5bdb6e6d69
Clean up spec
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
130401263a
Add CreditPaymentMethod::Linker
...
It links the given enterprise to credit related payment method. It
will create the methods if missing.
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
29a8a6641c
Add ability to use payment with credit
...
Currently it works like any other payment method you can select on
checkout. It will eventually be added automatically to the order, when a
customer has credit available.
2026-03-10 16:07:42 +11:00
Gaetan Craig-Riou
28241756aa
Add Customer Credit payment method
...
It doesn't do anything yet
2026-03-10 16:07:42 +11:00
Maikel Linke
de873ae42c
Add void action to Taler for refunds
2026-02-20 13:43:09 +11:00
Maikel Linke
ed701b00dc
Stop storing now redundant redirect URL
...
The Taler gem now computes it from the order id. No need to store it.
2026-02-20 13:43:04 +11:00
Maikel Linke
52e2fb923e
Update Taler calls for new v0.2.0
2026-02-20 13:37:46 +11:00
Maikel Linke
c115ab7a0d
Translate Taler payment status to error message
2026-01-29 15:07:28 +11:00
Maikel Linke
b9c7925008
Complete Taler payment success scenario
2026-01-29 15:07:28 +11:00
Maikel Linke
c11b93a4dc
Demo Taler flow without validating payment yet
2026-01-29 15:07:28 +11:00
Maikel Linke
61e0688392
Demonstrate retrieving the payment Taler URL
2026-01-29 15:07:27 +11:00
Maikel Linke
b3a1d1269a
Add Taler as payment method
...
It doesn't take payments yet but can be selected during checkout.
2026-01-29 15:07:27 +11:00
David Cook
62fefd5d49
Implement required method
...
Most of the time this doesn't get called because source_required: false.
But sometimes it [does happen](https://app.bugsnag.com/yaycode/openfoodnetwork-uk/errors/66329690f4b6380007e8a4f8)
I have a feeling that source_required? could be moved to the superclass as payment_source_class.present?. But I don't know enough about this area of the system to try it...
2024-05-13 12:55:55 +01:00
cyrillefr
e1374d5837
Add Order completion after capturing event
...
- A new processing method
- Payment means that link to it
- Altering methods that handle next status choice
2023-10-29 21:58:03 +01:00
Luis Ramos
b21a969502
Fix new credit_card_spec
2020-08-07 13:45:25 +01:00
Luis Ramos
d746ae3d9e
Fix easy rubocop issues
2020-08-07 13:28:09 +01:00
Luis Ramos
621e2a3132
Run rubocop autocorrect
2020-08-07 13:16:38 +01:00
Luis Ramos
abaa66cc14
Bring models from spree_core
2020-08-07 13:06:16 +01:00