I’ve created a payment gateway class called MP_Gateway_EmailPayments based on the MP_Gateway_ManualPayments class. Basically it emails the store admin whenever an order is placed. I’m having trouble capturing the credit card # and such from the payment info page and getting it into the email. I’ve double-checked and confirmed that it’s getting into $_SESSION successfully; however, when I try to access $_SESSION from inside the order_configuration function in marketpress.php, it doesn’t work. I’m sure there’s a better way to do this…can you point me in the right direction?
To give you an idea of what I’ve tried, my modified order_configuration function is at:
…and my MP_Gateway_EmailPayments class is at: