sddeveloper007
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce PayU India (PayUmoney - PayUbiz)] Woocommerce PayU Pluginfunction process_payment($order_id){
global $woocommerce;
$order = new WC_Order($order_id);if ( version_compare( WOOCOMMERCE_VERSION, ‘2.1.0’, ‘>=’ ) ) { // For WC 2.1.0
$checkout_payment_url = $order->get_checkout_payment_url( true );
} else {
$checkout_payment_url = get_permalink( get_option ( ‘woocommerce_pay_page_id’ ) );
}return array(
‘result’ => ‘success’,
‘redirect’ => add_query_arg(
‘order_pay’,
$order->id,
add_query_arg(
‘key’,
$order->order_key,
$checkout_payment_url
)
)
);
} //END-process_paymenti changed the order to order_pay then it is redirected to payu payment site.but showing a message “Sorry, SOme problem Occured”
Forum: Plugins
In reply to: [WooCommerce PayU India (PayUmoney - PayUbiz)] Woocommerce PayU Plugin
Sir, I have added the error screenshot. Please help me with this.
Forum: Plugins
In reply to: [WooCommerce PayU India (PayUmoney - PayUbiz)] Woocommerce PayU PluginHello Vachan
is the plugin compatible to latest wordpress i.e 4.6.1.
I am getting an error about deprecated methods.Thankyou