Due to the large volume of support requests you may experience longer wait until a supporter handles your request. We apologize for the inconvenience this causes. We encourage you to please search the forum for other support topics that may be helpful and to review our documentation. A supporter will respond to you as soon as possible.

[Closed] WPML Woocommerce Unable to Direct Language Page to Paypal

Home Support English Support [Closed] WPML Woocommerce Unable to Direct Language Page to Paypal

This topic contains 22 replies, has 3 voices, and was last updated by  Alex.A 1 year, 3 months ago. The support staff assigned to this topic is Alex.A.

Author Posts
Author Posts
August 11, 2013 at 7:54 pm #153780

Timothy

Hi,

I'm currently getting the message after I press the Place Order button. The message I received is:

{"result":"success","redirect":"https:\/\/www.sandbox.paypal.com\/cgi-bin\/webscr?test_ipn=1&cmd=_cart&business=tim-facilitator%40mintywebs.com&no_note=1&currency_code=HKD&charset=UTF-8&rm=1&upload=1&return=http%3A%2F%2Fwww.nuhaute.com%2Fzh-hant%2Fcheckout%2Forder-received%2F%3Forder%3D200%26key%3Dorder_5207ead2e6893%26utm_nooverride%3D1&cancel_return=http%3A%2F%2Fwww.nuhaute.com%2Fzh-hant%2F%3Forder_id%3D200%26order%3Dorder_5207ead2e6893%26cancel_order%3Dtrue%26_n%3Dd510acbfb2&page_style=&invoice=WC-200&custom=a%3A2%3A%7Bi%3A0%3Bi%3A200%3Bi%3A1%3Bs%3A19%3A%22order_5207ead2e6893%22%3B%7D&notify_url=http%3A%2F%2Fwww.nuhaute.com%2Fzh-hant%2F%3Fwc-api%3DWC_Gateway_Paypal&first_name=123&last_name=123&company=&address1=123&address2=&city=123&state=HONG+KONG&zip=&country=HK&email=tim%40hotmail.com.com&night_phone_b=96847090&day_phone_b=96847090&no_shipping=1&tax_cart=0.00&item_name_1=Maray+Viognier+Limari+Valley+750ml&quantity_1=1&amount_1=50.00&item_name_2=%E9%81%8B%E9%80%81%E9%80%8F%E9%81%8E+%C8%88%AA%E9%81%8B&quantity_2=1&amount_2=55.00"}

August 11, 2013 at 7:54 pm #153782

Timothy

English version works though...

August 12, 2013 at 9:11 am #153867

Amit
Forum moderator

Hi Timothy,

Can you please tell me what versions WPML(add-ons) / WordPress you are using? Is this error is with the WordPress debug mode on ? does the checkout procedure works or it fails ?

Thanks!

August 12, 2013 at 2:54 pm #154033

Timothy

All the plugin information is as follows:
I currently have the following installed:
Installer v0.5
Woocommerce v2.0.13
Woocommerce Multilingual v2.3.2
Woocommerce Table Rate Shipping v3.1
WP-Mail SMTP v0.9.1
WPML CMS Nav v1.3
WPML Media v1.6
WPML Multilingual CMS v2.9.1
WPML String Translation v1.8.1
WPML Translation Management v1.7.1

And no I do not have the debug mode on.

Also attached is screenshot which clearly showing that the checkout page is not working.

August 13, 2013 at 8:43 am #154241

Amit
Forum moderator

Timothy,

I am sending you an email asking for login details. Please confirm receiving it.

Thanks!

August 13, 2013 at 9:15 am #154259

Amit
Forum moderator

Timothy,

I am looking at the code and admin - can you please activate the WordPress debug mode ? - http://wpml.org/documentation/support/debugging-wpml/
Please let me know when this is done.
Thanks!

August 13, 2013 at 9:20 am #154262

Timothy

Hi I added the following lines:
// Enable WP_DEBUG mode
define('WP_DEBUG', true);

to the wp-config file.
Please let me know if there is any other changes required. Thanks!

August 13, 2013 at 9:43 am #154274

Amit
Forum moderator

Hi,

Thanks, yes - You will need to create a file named error_log.txt in your WordPress root directory and give the web server full write access to it.

Meanwhile I have located the function that creates this message - I am not sure it's an error, but something gets blocked there, I am looking at that now.

Please let me now when the error log file is created

Thanks!

August 13, 2013 at 10:16 am #154290

Timothy

Hi Amit,

I've created the error log file.

Thanks.

August 13, 2013 at 10:28 am #154296

Amit
Forum moderator

Timothy -

Can you please reproduce the error now again - so it'll write to the log error ? Please let me know when that's done.

Thanks!

August 13, 2013 at 10:40 am #154303

Timothy

I keep on getting this message on the Checkout Cart Page:
Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in C:\Inetpub\vhosts\nuhaute.com\httpdocs\wp-includes\functions.php on line 2871

And it doesn't show up if I have the log error on

August 13, 2013 at 10:46 am #154307

Amit
Forum moderator

Hi Timothy,

This is from a deprecated WordPress function we are aware of, it's just a message and it should have no real effect on the actual WPML functionality. Were you able to reproduce the error ? if so please attach the screenshot of the wp_debug message

Thanks!

August 13, 2013 at 11:01 am #154310

Timothy

I am unable to reproduce the error message because when I added the items to the cart and then proceed to the checkout page in Chinese version I am unable to get the Pay Now button, but I am able to see it in English version.

August 13, 2013 at 1:30 pm #154385

Amit
Forum moderator

Timothy - sorry I didn't understand very well - are you able to reproduce the error message described at the beginning of the ticket ? can you tell me please how can I do that.

Thanks!

August 15, 2013 at 2:20 pm #155077

Timothy

Hi Amit,

English version works successfully. However, Chinese version does not work if I have products checking out:

http://www.nuhaute.com/zh-hant/checkout/

I only need Paypal version working. Please do add a product into shopping cart and visit the link and try payment and you will see the error message.

The topic ‘[Closed] WPML Woocommerce Unable to Direct Language Page to Paypal’ is closed to new replies.