Updates to Zip Pay Web Checkouts

  • Posts: 106
  • Thank you received: 8
  • Hikashop Business
1 day 8 hours ago #370380

We are currently using the Zip Pay / Zip Money Payment Method plugin version 1.0.0

We have just been informed that there is a change to the Web Checkouts

Please see this URL for further information: developers.zip.co/v11/docs/checkouts-api-merchants

They recommend to:

Update your API base urls for both sandbox and production.
Determine if you are using our checkouts Javascript. If so, update your script base url.

I don't see anywhere in the plugin where we can update the API base URL. Is it hard coded in the plugin?

Also, are we using their checkouts Javascript? If so, we need to update that URL also.

Thanks for your assistance.

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

  • Posts: 85103
  • Thank you received: 13871
  • MODERATOR
1 day 4 hours ago #370386

Hi,

It is indeed hardcoded in the plugin as the URL is normally not supposed to change and it should not be up to the user to change it. So you were right to contact us about it.
I'm assuming you're using the plugin sold on our marketplace by TsukiDev:
www.hikashop.com/marketplace/product/246-zip-pay-zip-money.html
I had a look at the code of the plugin (you can open the file plugins/hikashoppayment/zipmoney/zipmoney.php via FTP if you want to take a look).
There, I can see:

		if($zipmoney_mode==1)
		{
			$api_url='https://api.sandbox.zipmoney.com.au/merchant/v1/checkouts';
		}
		else
		{
			$api_url='https://api.zipmoney.com.au/merchant/v1/checkouts';
		}
and:
			if($_REQUEST['zipmoneymode']==1)
			{
				$api_url='https://api.sandbox.zipmoney.com.au/merchant/v1/charges';
			}
			else
			{
				$api_url='https://api.zipmoney.com.au/merchant/v1/charges';
			}
So, from what I understand of the link you provided the plugin you need to update these.

I'll be forwarding your message to TsukiDev so that they can look into it rapidly and publish a new version of the plugin with the changes integrated by default.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum