Hm @Quarterbore,
I am trying to move the payment_gateway edit code above into a plugin on the paidsub_build hook.
When in the build_user_subscription method in class_paid_subscriptions, we don't have direct access to paymentinfo data including
paymentinfo['amount']
paymentinfo['ipaddress']
paymentinfo['paymentinfoid'];
How do you suggest I retrieve them? With an extra query?
|