You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the payment method needs to be set via the configuration.
This makes it harder to allow users to subscribe through different payment methods, since it requires monkey-patching the Checkout#active_card method.
Instead, we should retrieve the payment method directly from the payment source that's being charged, which should be easy enough via active_card.payment_method.
This spares the user from having to set the gateway manually and lays the groundwork for #116.
The text was updated successfully, but these errors were encountered:
Currently, the payment method needs to be set via the configuration.
This makes it harder to allow users to subscribe through different payment methods, since it requires monkey-patching the
Checkout#active_card
method.Instead, we should retrieve the payment method directly from the payment source that's being charged, which should be easy enough via
active_card.payment_method
.This spares the user from having to set the gateway manually and lays the groundwork for #116.
The text was updated successfully, but these errors were encountered: