mollie / spree-mollie-gateway

Mollie payments for Spree Commerce.
https://www.mollie.com
16 stars 23 forks source link

Expose 'gateways' node on Spree::Order API call #20

Closed vernondegoede closed 6 years ago

vernondegoede commented 6 years ago

Currently an extra API call is required to fetch all Mollie gateways.

We should add an extra gateways which exposes the available gateways with the orders' currency and amount.

Only expose this node when Spree::Order.state equals payment or complete.