Shipping Address not transferring to Paypal

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #135755

Hi Hikashop.

Help......I have a recent issue with the cart not transferring the customers shipping address when being transferred to Paypal to pay. When the order is transferred to Paypal for payment, it's not showing the customers shipping address, but the shipping address is showing up in the cart order. This is creating a problem for me because the customer address is not showing when they pay on the Paypal, so orders are being denied because of this error. I do need their address.

I called Paypal and they said it was a cart issue, that my Paypal account has no issues. Paypal said for some reason the cart is not syncing up with Paypal when it's transitioning from the cart to Paypal, so the shipping address is not coming through to paypal. Please advise if there is a fix for this.

Thank you for your time.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #135761

Hi,
Can you show me screenshots of how did you configured your PayPal configuration page ? so that I can see how did you configured your "Customer address" option.

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #136742

Hi Mohamed,
I changed the "customer address" option within my Paypal config area from "no shipping" to "Shipping Address" and it still did not work. All the customers address information is still not forwarding to Paypal when transferred from the cart to Paypal, I'm still getting no shipping address from Paypal so orders are being cancelled because of this.

Also, I do have another problem that was just brought to my attention for our International customers who are trying to place an order. When a customer from outside the U.S. checks out, enters their address information, clicks next button which goes to the shipping options page, and they choose the shipping method, and they click the next button to go to payments, it says no shipping methods found. I'm confused because it lists the post office shipping method so the shipping option does work, it's when they click the next button it goes to the next page for payments, then it says no shipping methods found. I've looked to be sure their country was selected for shipping, and yes it was. Please advise on these two issues.

Thank you for your time.
Gina

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #136752

Hi Mohamed.
I was just informed on how to do a screenshot, I've attached a copy so I hope it works. Please let me know if it did not.



Also, Please see the last message i sent you earlier today Dec 16th.
Thank you for your time.

Attachments:
Last edit: 10 years 11 months ago by SpectacularToys. Reason: cant get screenshot working

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #136783

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #136798

Hi Nicolas,
I read the link you sent me about paypal issues, and I'm not having any of those issues. I did a test order with a valid address and it still was not transferring to paypal correctly. I've contacted Paypal and they said there is some type of error happening when the cart is transferring the customer order info to Paypal so the address is not transferring over correctly. Paypal tech support said maybe we can refresh the API's in the Paypal configurations within the cart that sometimes this can be the issue. However, when I went to the paypal configurations in the cart, there was no choice to refresh the API's. Is there another section I need to go to for the Paypal API's? I had also sent a screenshot of the Paypal config page(see last message above) and you can see there is no API section there.
What else do you think it could be because good/valid addresses are not transferring to paypal correctly so somewhere during the payment completion the customers address is disappearing so I'm getting no address with customer payment thru paypal. Please advise.

Last edit: 10 years 11 months ago by SpectacularToys. Reason: error

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #136863

Hi,

As the documentation link I gave you says, you need to change the "no shipping" and "address override" options of your paypal plugin to have it the way you want for the shipping address to be transmitted to PayPal without them displaying the error.
Simply try the different combinations and you should find which one to use.

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #136888

Hello.

We've tried changing all different methods within the Paypal config and none of the changes we've tried work, we're still having the problem :( . I don't know what else to do, so I've put a help request ticket in with Paypal Tech Dept, maybe they can pinpoint the issue. Maybe it's on their end, I don't know.

***I have another issue that was brought to my attention from one of our International customers who was trying to place an order. When a customer from outside the U.S. checks out, enters their address information, clicks the "next" button which goes to the shipping options page, and they choose a shipping method, then they click the "next" button which goes to payments page, it displays at the top of the page "no shipping methods" found. I'm confused because it lists the shipping methods on the previous shipping methods page, so the shipping method option does work. However when the "next" button is clicked to go to the payments page, it says no shipping methods found. I'm confused on why this is happening. If you go to www.spectaculartoys.net you will be able to duplicate this issue. Please advise on how we can fix this issue.

Thank you for your time and help.

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #136923

Hi,

We cannot reproduce such issue on our end.
Either it's a bug of an old version of HikaShop that we fixed (but I don't remember such bug), or it's because you have shipping methods restrictions not configured properly, but in that case we would need to know how you configured them.

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #137066

Hi Nicholas,
Here is what I get when i do a test order with an International address:
I enter billing info then click the "next" button to choose shipping methods, here's a screenshot:



Then I click the "next" button to choose the payment methods, and this is what I get and here's a screenshot:




Can you please help me to fix this, I do not know why it's doing this.
Thank you for your help.

Attachments:

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #137099

It could be that you edited the file "shipping" of the view "checkout" from a previous version of HikaShop. Check on that via the menu Display>views and if that's the case, remove your customization with the icon on the views listing and then try again.

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #137242

Hi Nicolas,
I believe this is the section you are referring to, and I didn't see any customizations there, no icon to cancel. I will list the information from the shipping in the Display Views section below and can you tell me if there is anything incorrect in this section, and if so what I need to correct it to. Thank you.

<?php
/**
* @package HikaShop for Joomla!
* @version 2.1.3
* @author hikashop.com
* @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php if(!empty($this->rates)){ ?>
<div class="hikashop_shipping_methods" id="hikashop_shipping_methods">
<fieldset>
<legend><?php echo JText::_('HIKASHOP_SHIPPING_METHOD');?></legend>
<?php
if(!HIKASHOP_RESPONSIVE) {
?> <table>
<?php
} else {
?><div class="controls">
<div class="hika-radio">
<table class="hikashop_payment_methods_table table table-striped table-hover">
<?php
}

$this->setLayout('listing_price');
$this->params->set('show_quantity_field', 0);
$auto_select_default = $this->config->get('auto_select_default',2);
if($auto_select_default==1 && count($this->rates)>1)
$auto_select_default=0;
$done=false;
$k = 0;
foreach($this->rates as $rate){
$checked = '';
if(($this->shipping_method==$rate->shipping_type && $this->shipping_id==$rate->shipping_id)|| ($auto_select_default && empty($this->shipping_id)&&!$done)){
$done = true;
$checked = 'checked="checked"';
}
if($this->config->get('auto_submit_methods',1) && empty($checked)){
$checked.=' onclick="this.form.submit(); return false;"';
}
if(empty($rate->shipping_price_with_tax)){
$rate->shipping_price_with_tax = $rate->shipping_price;
}
if(empty($rate->shipping_price)){
$rate->shipping_price = $rate->shipping_price_with_tax;
}

$taxes = round($rate->shipping_price_with_tax-$rate->shipping_price,$this->currencyHelper->getRounding($rate->shipping_currency_id));
$prices_taxes = 1;
if(bccomp($taxes,0,5)==0){
$prices_taxes = 0;
}

$price_text = '';
if(bccomp($rate->shipping_price,0,5)===0){
$price_text = JText::_('FREE_SHIPPING');
}else{
$price_text .= JText::_('PRICE_BEGINNING');
$price_text .= '<span class="hikashop_checkout_shipping_price">';
if($prices_taxes){
$price_text .= $this->currencyHelper->format($rate->shipping_price_with_tax,$rate->shipping_currency_id);
$price_text .= JText::_('PRICE_BEFORE_TAX');
$price_text .= $this->currencyHelper->format($rate->shipping_price,$rate->shipping_currency_id);
$price_text .= JText::_('PRICE_AFTER_TAX');
}else{
$price_text .= $this->currencyHelper->format($rate->shipping_price,$rate->shipping_currency_id);
}

if($this->params->get('show_original_price') && isset($rate->shipping_price_orig) && bccomp($rate->shipping_price_orig,0,5)){
$price_text .= JText::_('PRICE_BEFORE_ORIG');
if($prices_taxes){
$price_text .= $this->currencyHelper->format($rate->shipping_price_orig_with_tax,$rate->shipping_currency_id_orig);
}else{
$price_text .= $this->currencyHelper->format($rate->shipping_price_orig,$rate->shipping_currency_id_orig);
}
$price_text .= JText::_('PRICE_AFTER_ORIG');
}
$price_text .= '</span> ';
$price_text .= JText::_('PRICE_END');
}
?>
<tr class="row<?php echo $k; ?>">
<?php if(!HIKASHOP_RESPONSIVE) { ?>
<td>
<input class="hikashop_checkout_shipping_radio" type="radio" name="hikashop_shipping" id="radio_<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>" value="<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>" <?php echo $checked; ?> />
</td>
<td><label for="radio_<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>" style="cursor:pointer;">
<span class="hikashop_checkout_shipping_image">
<?php } else { ?>
<td>
<input class="hikashop_checkout_shipping_radio" type="radio" name="hikashop_shipping" id="radio_<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>" value="<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>" <?php echo $checked; ?> />
<label class="btn btn-radio" for="radio_<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>"><?php echo $rate->shipping_name;?></label>
<span class="hikashop_checkout_shipping_price_full"><?php echo $price_text; ?></span>
<span class="hikashop_checkout_payment_image">
<?php
}
if(!empty($rate->shipping_images)){
$images = explode(',',$rate->shipping_images);
if(!empty($images)){
foreach($images as $image){
if(!empty($this->images_shipping[$image])){
?>
<img src="<?php echo HIKASHOP_IMAGES .'shipping/'. $this->images_shipping[$image];?>" alt=""/>
<?php
}
}
}
}
?>
</span>
<?php if(!HIKASHOP_RESPONSIVE) { ?>
</label>
</td>
<td><label for="radio_<?php echo $rate->shipping_type.'_'.$rate->shipping_id;?>" style="cursor:pointer;">
<span class="hikashop_checkout_shipping_name"><?php echo $rate->shipping_name;?></span>
<span class="hikashop_checkout_shipping_price_full"><?php echo $price_text; ?></span>
</label>
<br/>
<?php } ?>
<div class="hikashop_checkout_shipping_description"><?php echo $rate->shipping_description;?></div>
</td>
</tr>
<?php
$k = 1-$k;
}

if(!HIKASHOP_RESPONSIVE) {
?> </table>
<?php
} else {
?> </table>
</div>
</div>
<script>
(function($){
jQuery("#hikashop_shipping_methods .hika-radio input[checked=checked]").each(function() {
jQuery("label[for=" + jQuery(this).attr('id') + "]").addClass('active btn-primary');
});
jQuery("#hikashop_shipping_methods .hika-radio input").change(function() {
jQuery(this).parents('div.hika-radio').find('label.active').removeClass('active btn-primary');
jQuery("label[for=" + jQuery(this).attr('id') + "]").addClass('active btn-primary');
});
})(jQuery);
</script>
<?php
}
?>
</fieldset>
</div>
<?php } ?>

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #137275

I don't see any problem here.

Can you do a screenshot of your checkout tab of the configuration ?
Can you provide a screenshot of the options of your shipping method ?

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

  • Posts: 54
  • Thank you received: 1
10 years 11 months ago #137302

Hi Nicolas,
Here is the screenshot of the checkout tab of the configuration:
However I'm not sure what you need for shipping methods. Is that under the plugins>shipping methods> then I would click on usps shipping methods because that is who I use for International. I do have the International button checked and priority checked under the usps pluging section, and I do not have any restrictions. If this is not what you need, you will have to tell me where to get it, sorry. Here are the screenshots:





Thank you for your help.
Gina

Attachments:

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
10 years 11 months ago #137600

As far as I can see, there is something which removes the user data in the session when going from the second to the third step of the checkout.
Because of that, no shipping methods are found anymore and you basically have to go back to step 1 and reenter your data.

We cannot reproduce the issue on our end. Either it's something that we fixed in a recent version of HikaShop or that's something coming from a view customization.
So first, rename the folder templates/YOUR_TEMPLATE/html/com_hikashop and try again. If you still have the error after that or if you don't have that folder, it means that it's not coming from a view override and in that case, you can update to the latest version and that should hopefully fix the problem. If you don't have the error after you renamed that folder, it means that the issue is with the customization of some of the views that were done. You can leave this folder renamed and reapply the modifications you need without breaking the checkout view files.

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

Time to create page: 0.102 seconds
Powered by Kunena Forum