Tags/topics: 
1
Answers
Vote up!
0
Vote down!

How can I have more than one payment method applied for an order - concurrently?

I am developing a Gift Card payment module for Commerce and I don't see how I can make both Gift Card and Credit Card payment methods to be applied (i.e. cards charged) for the same order - if the Gift Card balance amount is less than the order total. In Ubercart it was relatively easy, but in Commerce I see the "radio" type of payment panes is hardcoded. Are there any tricks (hooks, API calls, etc) that I can use?
I tried already to use the Gift Card as an order "line item", but that made it impossible to pay for the shipment and taxes by the Gift Card, since shipment cost and taxes come after all the line items.

Asked by: calmforce
on July 8, 2013

1 Answer