Improved Selection of Store Credit Payment Method
Improved Selection of Store Credit Payment Method

Under the previous implementation, if a payment method of "Spree::PaymentMethod::StoreCredit" type exists that is inactive, or configured for a different environment, it could be chosen as the payment method for the store-credit payment, and processing the order would fail.

Instead, the payment method selection is now scoped for availability, ensuring that the payment-method selected (if any) can successfully be processed.
bryanmtl/spree_store_credit_payment_method,bryanmtl/spree_store_credit_payment_method,bryanmtl/spree_store_credit_payment_method