[Skip to main content](#vessel-content)

#   Empty Billing Address with Sagepay causing problems.

##

- **[mikeflan](/forum/user/41517-mikeflan "View mikeflan's Profile")**
- [![mikeflan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41517-mikeflan "View mikeflan's Profile") Topic Author
- [ Offline](/forum/user/41517-mikeflan)

Less More

- Posts: 27
- Thank you received: 1
-
-

3 years 3 months ago [\#353712](#353712) by [mikeflan](/forum/user/41517-mikeflan "View mikeflan's Profile")  *[Empty Billing Address with Sagepay causing problems.](/forum/27-checkout/906772-empty-billing-address-with-sagepay-causing-problems#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 &quot;electronic goods &amp; service&quot; 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 &quot;show 'same address' checkbox&quot;) 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 &quot;show same address checkbox&quot;, which is ticked automatically.  Let me know if you need anything from me,  Thanks for the help.")* was created by *[mikeflan](/forum/user/41517-mikeflan "View mikeflan's Profile")*

-- 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 &amp; 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNjc3Mi1lbXB0eS1iaWxsaW5nLWFkZHJlc3Mtd2l0aC1zYWdlcGF5LWNhdXNpbmctcHJvYmxlbXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

3 years 3 months ago -  3 years 3 months ago [\#353716](#353716) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Empty Billing Address with Sagepay causing problems.](/forum/27-checkout/906772-empty-billing-address-with-sagepay-causing-problems#353716 "-- 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 &quot;electronic goods &amp; service&quot; 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 &quot;show 'same address' checkbox&quot;) 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 &quot;show same address checkbox&quot;, which is ticked automatically.  Let me know if you need anything from me,  Thanks for the help.")*

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** =&gt; **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](http://www.obsidev.com/)** (Sagepay developer)

Hope you will find your solution
Regards

Last edit: 3 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNjc3Mi1lbXB0eS1iaWxsaW5nLWFkZHJlc3Mtd2l0aC1zYWdlcGF5LWNhdXNpbmctcHJvYmxlbXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mikeflan](/forum/user/41517-mikeflan "View mikeflan's Profile")**
- [![mikeflan's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/41517-mikeflan "View mikeflan's Profile") Topic Author
- [ Offline](/forum/user/41517-mikeflan)

Less More

- Posts: 27
- Thank you received: 1
-
-

3 years 3 months ago [\#353750](#353750) by [mikeflan](/forum/user/41517-mikeflan "View mikeflan's Profile")  Replied by *[mikeflan](/forum/user/41517-mikeflan "View mikeflan's Profile")* on topic *[Empty Billing Address with Sagepay causing problems.](/forum/27-checkout/906772-empty-billing-address-with-sagepay-causing-problems#353750 "-- 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 &quot;electronic goods &amp; service&quot; 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 &quot;show 'same address' checkbox&quot;) 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 &quot;show same address checkbox&quot;, which is ticked automatically.  Let me know if you need anything from me,  Thanks for the help.")*

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](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNjc3Mi1lbXB0eS1iaWxsaW5nLWFkZHJlc3Mtd2l0aC1zYWdlcGF5LWNhdXNpbmctcHJvYmxlbXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.082 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
