good morning. i'm curious if anybody knows of a wa...
# support
f
good morning. i'm curious if anybody knows of a way that i might be able to create a payment for 2 separate orders. they'd each have their own tax, shipping, etc and we need to track them as separate
Spree::Order
but we'd like to just have to process a single payment transaction
k
in which way are you creating those orders? in admin? programmatically?
f
programatically. we've got a custom RoR app built on top, so pretty familiar with the inner workings
k
the only thing that comes to mind right now is creating a new payment gateway which does nothing but you can create the transaction later with another payment associated via the source to the order’s payments. I imagine it’s for some sort of subscriptions processing, right?
f
yea
hmmm. that sounds like it could work at least for transitioning the order to
paid
but i think it would get complicted when trying to tie the original payment to the orders for accounting purposes
k
why do you think that’s complicated?