Article ID: 129418, created on Sep 13, 2016, last review on Sep 13, 2016

  • Applies to:
  • Business Automation 6.0

Symptoms

External payment redirect (e.g. PayPal Express) does not work in the store - Pay Now button is not redirecting to the processing center.

post_redirect is not defined is shown when using browser debug.

Cause

Check the value of the NEW_WINDOW_FOR_PAYMENT_OPENED word in the dictionary of the languages used in the on-line store (_Home > Products > Online Store > Advanced Settings > Languages > language > Dictionary). If there is an ' symbol, then the root cause is a bug with id #PBA-76040 ("External Payments Redirects may stop working in Online Store due to unescaped ' character").

Resolution

Apply the workaound:

  1. In the layout template confirm_part_redirect replace string

    document.getElementById("payRedirectMessage").innerHTML = '{$smarty.session.LANG.NEW_WINDOW_FOR_PAYMENT_OPENED}';
    

    with

    document.getElementById("payRedirectMessage").innerHTML = '{$smarty.session.LANG.NEW_WINDOW_FOR_PAYMENT_OPENED|escape:'javascript'}';
    
  2. Synchronize the store

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF