WorldPay Business Gateway Plugin

  • Posts: 54
  • Thank you received: 0
8 years 1 week ago #255522

-- HikaShop version -- : HikaShop Business 2.6.4 [1610121552]
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.4

Could anyone suggest why WorldPay Business Gateway Plugin only forwards automactically to Worldpay if arriving from the unpaid orders list (index.php?option=com_hikashop&ctrl=order) using the pay now button.
Through a normal checkout it sticks and the button needs to be clicked to get to WP?

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 1 week ago #255543

Hi,

1 - Please be sure to have the latest Joomla version (and his security fixes).

2 - The WorlPay plugins are not using the HikaShopPayment Plugin interface ; so some features might not work properly.
Because these plugins were not made by the HikaShop team (but provided by BrainForge) ; we are not able to provide support on it (or test the plugins, we do not have any test account for example).

External plugins are progressively removed from HikaShop packages to be externalize in GitHub ( github.com/hikashop/ ), the WorldPay plugins would be migrate like the other plugins in the future.

3 - If you have an issue with the "pay now" button in HikaShop ; please perform a test with a "regular" plugin made by the HikaShop team ; so we will be able to test and investigate.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 54
  • Thank you received: 0
8 years 6 days ago #255567

Another payment method works fine (Paypal) so there doesn't apear to be anything wrong with the install....also works fine from the previous orders list. What is different within Hikashop from when a normal order is placed and when the paynow button is clicked within previous orders as it works correctly then?

Its a little concerning to hear that you can't support the Worldpay plugin as Hikashop was sold (ie we aren't using the free version) to us as a working solution, should you not be contacting the developer? I would not expect to take a car to a main dealer to be told "we did not build the car we can't fix it."

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 6 days ago #255575

Hi,

The difference is that in the PayPal plugin, the redirect is done with that code:

<script type="text/javascript">
		<!--
		//Paypal does not work in an iframe... we add the target parameter if we detect we are within an iframe
		function isIframe(){
			try{
				return window.self !== window.top;
			}catch(e){
				return false;
			}
		}
		if(isIframe()){
			document.getElementById('hikashop_paypal_form').target = '_blank';
		}
		document.getElementById('hikashop_paypal_form').submit();
		//-->
	</script>
while in the WorldPay Business Gateway plugin it is done with the code:
$doc = JFactory::getDocument();
				$doc->addScriptDeclaration("window.hikashop.ready( function() {document.getElementById('hikashop_rbsworldpay_form').submit();});");
if you look at the _end files of the plugins in their respective folders in plugins/hikashoppayment/
So the issue is probably a javascript error on the page at the end of the checkout (caused by some 3rd party extension) which isn't there in the orders listing, and which isn't problematic for the way the redirect is done with the PayPal plugin.

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum