Search Engine: Elastic

Article ID: 120614, created on Mar 19, 2014, last review on May 29, 2015

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

OBAS was upgraded from version 4.3 to 4.5.1. The response given by the API method "get_redirect_hash", HSPC/API/PP has changed.

In OBAS 4.5 it returns:

object(stdClass)[3]
  public 'iframe' => int 1
  public 'ref_no' => string '1002..1394710379.1165068' (length=24)
  public 'attrs' =>
    object(stdClass)[5]
      public 'ref_no' => string '1002..1394710379.1165068' (length=24)
  public 'url' => string 'https://%hspc_node%/hspc/common/02' (length=45)
  public 'method' => string 'post' (length=4)
  public 'details' =>
    object(stdClass)[6]
      public 'vps_transaction' => string 'REGISTER' (length=8)
      public 'vps_secure_key' => string '8MR5OPSKZQ' (length=10)
      public 'vps_trans_status' => string 'OK' (length=2)
      public 'vps_client_trans_id' => string '1002..1394710379.1165068' (length=24)

While in OBAS 4.3 get_redirect_hash would return something like:

object(stdClass)[3]
  public 'iframe' => int 1
  public 'ref_no' => string '0001..1394712352.3529283' (length=24)
  public 'attrs' =>
    object(stdClass)[5]
      public 'url_hspc_redirector' => string 'https://%url_hspc_redirector%/gateway/service/cardselection?vpstxid={770BCFD4-A97B-0517-CDE3-7C568D131EC0}' (length=101)
      public 'iframe_hspc_redirector' => string '1' (length=1)
      public 'method_hspc_redirector' => string 'POST' (length=4)
  public 'url' => string 'https://%hspc_node%/hspc/common/02' (length=46)
  public 'method' => string 'post' (length=4)
  public 'details' =>
    object(stdClass)[6]
      public 'vps_transaction' => string 'REGISTER' (length=8)
      public 'vps_secure_key' => string 'Q05MFNCP0E' (length=10)
      public 'vps_trans_status' => string 'OK' (length=2)
      public 'vps_client_trans_id' => string '0001..1394712352.3529283' (length=24)

The user was redirected to "url_hspc_redirector" to submit a payment. This is not provided (at all) in the new response given by "get_redirect_hash" in OBAS 4.5.

Cause

Such behavior was classified as the software issue PBAS-29297 and was fixed in OBAS 4.5.2 release.

Resolution

Upgrade OBAS to the latest version.

Hotfix for OBAS 4.5.1 CentOS5, 32-bit

The hotfix is attached. To install the hotfix upload the attached package to OBAS 4.5.1 node and install it with the following commands:

~# rpm -Uhv hspc-pp-4.5.1-27.swsoft.i386.rpm
~# service hspcd restart

The fix is the following: redirector functionality is disabled by default, it's enabled only for plugins which require this functionality. The redirect url can be retrieved from the 'url' value.

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 70a5401e8b9354cd1d64d0346f2c4a3e 624ca542e40215e6f1d39170d8e7ec75

Email subscription for changes to this article
Save as PDF