[Resolved] Problems with "rest_url" and wpml + gravitfypdf
Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.
Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.
I am using your plugin on my Woocommerce shop hidden link (Austria content) and hidden link (German content) - this two domains are under the same woocommerce with WPML de-DE and de-AT content.
I am also using GRAVITYPDF and the LIVE-PREVIEW. The PDF LIVE PREVIEW shoes me on the finto24.de website: "Message: file origin does not match viewer's" - i think the problem is the "rest_url" because the URL in the iframe of GravityPDF shows like this (second domain should be "www.finito24.de":
"hidden link"
Attached you will see, that the second link is hidden link > how can i change that?
The .AT domain works perfect.
You can try it:
1. hidden link
2. Selctor: "Ohne Prägung" > "Prägung in Silber"
3. Button / Checkbox: "Prägung am Buchdeckel hinzufügen"
After that, you will see the "Live Preview" and the ERROR-MESSAGE
I am using the sam live preview / gravity form on my Austria/Eu Site. hidden link
The plugin owner told me:
It looks like WPML isn't correctly translating the `rest_url` function call to the appropriate domain name, and is why the Previewer isn't working. This function uses `get_home_url` under the hood, which WPML claims to support automatically.
wir sind momentan mit dem Gravity PDF Plugin nicht kompatibel. Ich habe Ihren Fall an meine Kollegen vom 2nd Tier Support zur weiteren Abklärung weitergeleitet.
Ich gebe Ihnen schnellstmöglich Bescheid, wenn ich eine Rückmeldung dazu erhalte.