Retrieving paymentObject by Order.
-
In previous versions of the plugin(pre: 7.0.3.) I could retrieve payment information by calling something like:
$payment = \Mollie_WC_Plugin::getPaymentObject()->getActiveMolliePayment( $order->get_id() );
What is the way to retrieve similar if not the same data with the latest version of the plugin? I cannot find it due to me having trouble to provide the constructors with the needed parameters.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Retrieving paymentObject by Order.’ is closed to new replies.