Empty Billing Address with Sagepay causing problems.

  • Posts: 27
  • Thank you received: 1
1 year 3 months ago #353712

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3.2
-- PHP version -- : 8.1.21
-- Browser(s) name and version -- : Chrome - 114.0.5735.248

Problem
We use Sagepay which requires a delivery address for each transaction. There is a way for a user to have billing address but no shipping address when in checkout, which causes a problem.

Configuration - checkout workflow - Address
1. Type = both (billing and shipping address)
2. Show 'same address' checkbox = Yes
3. Same address checkbox pre-checked = yes

How to replicate

1. User creates a new account outside of checkout.(at this point it does not ask for a billing or shipping address)
2. User adds a product, of type "electronic goods & service" to the basket.
3.User goes to check out, which asks for a billing address (does not ask for a shipping address or show the checkbox for "show 'same address' checkbox")
4. User will now have a billing address but the shipping address is not updated at the same time.
5. User selects payment, which transfers to Sagepay, but this then causes an error as there is no shipping address which is required.

Please note
1. This does not happen when the user creates an account from inside checkout, as the shipping address fills in with the same info, as the billing address, when account is created this way.
2. It also does not happen when the user purchases hardware, which then shows the "show same address checkbox", which is ticked automatically.

Let me know if you need anything from me,

Thanks for the help.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
1 year 3 months ago #353716

Hello,

Several possibilities to try to solve your issue:
1. Check that your option "Show 'same address' checkbox" in your Address block Checkout Workflow (HikaShop Configuration => Checkout tab).
2.
If this option is already on Yes, then go to your plugins management, then find and active the "Redirect Joomla registration to HikaShop plugin"
3. Nothing works? There are good chances that the solution is now up to Obsidev (Sagepay developer)

Hope you will find your solution
Regards

Last edit: 1 year 3 months ago by Philip.

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

  • Posts: 27
  • Thank you received: 1
1 year 3 months ago #353750

Hi Phillip

The show same address checkbox was already set to yes but the "Redirect Joomla registration to Hikashop plugin" was disabled, I have enabled this and tested and this fixes the problem; as a new user is forced to enter in an address, which goes into both billing address and shipping address.

The case can be closed.
Thank you for your quick and helpful response.

Mike

The following user(s) said Thank You: nicolas

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

Time to create page: 0.056 seconds
Powered by Kunena Forum