Spree::Refund can be generated for any existing
Refunds can equal the full amount of a payment or just a part of the full
If a refund is being created because of a customer return, then it should be
associated with a
Spree::Refund objects have the following attributes:
payment_id: The ID for the
Spree::Paymentthat this refund is associated with.
amount: The amount that is being refunded to the payment.
transaction_id: A unique transaction ID. Note that this does not relate to a
refund_reason_id: The ID for the
Spree::RefundReasonassociated with this refund.
reimbursement_id: The ID for the
Spree::Reimbursementassociated with this refund. For more information, see the Reimbursements article.
Spree::RefundReason has the following attributes:
name: The descriptive name for the refund reason.
active: Set whether the refund reason is active and can be used.
mutable: Sets whether the name of the refund reason can be changed. For new
Spree::RefundReasons, this is set to
code: An optional code for the refund reason.
solidus_backend interface, store administrators can generate refunds
for a payment from the Payments page on an order. Then, they can use the
Refund button to start creating a refund.
Solidus is an open source platform supported by the community. We encourage everyone using Solius to contribute back to the documentation and the code.