Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

PayPal standard - show product items

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 09-28-2012, 06:02 AM
 
qwerty qwerty is offline
 

Advanced Member
  
Join Date: Aug 2006
Location: UK
Posts: 94
 

Default Re: PayPal standard - show product items

tried to apply the patch but get the following

SQL PATCH FAILED AT QUERY:
Index: payment/ps_paypal.php @@ -260,7 +260,7 @@ $fields = array( 'charset' => $pp_charset, - 'cmd' => "_ext-enter", + 'cmd' => "_cart", 'custom' => $order_secureid, 'invoice' => $pp_ordr, 'redirect_cmd' => '_xclick', @@ -273,9 +273,10 @@ 'last_name' => $bill_lastname, 'business' => $pp_acc, 'amount' => $pp_total, - 'tax_cart' => 0, - 'shipping' => 0, - 'handling' => 0, + 'tax_cart' => func_paypal_convert_to_BasicAmountType($cart["tax_cost"], $pp_curr), + 'shipping' => func_paypal_convert_to_BasicAmountType($cart["shipping_cost"], $pp_curr), + 'handling_cart' => func_paypal_convert_to_BasicAmountType(($cart["need_giftwrap"] == 'Y' ? $cart["taxed_giftwrap_cost"] : 0), $pp_curr), + 'discount_amount_cart' => func_paypal_convert_to_BasicAmountType($cart["giftcert_discount"] + $cart["discount"] + $cart["coupon_discount"], $pp_curr), 'weight_cart' => 0, 'currency_code' => $pp_curr, 'return' => $_location."/payment/ps_paypal.php?mode=success&secureid=$order_securei d", @@ -304,6 +305,39 @@ if ($module_params['use_preauth'] == 'Y') $fields['paymentaction'] = 'authorization'
__________________
x cart v 5.2.10
ver 4.7.7 Gold Plus
Reply With Quote
  #42  
Old 09-28-2012, 09:10 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: PayPal standard - show product items

This is not sql patch. You are trying to apply it in the wrong place
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #43  
Old 09-28-2012, 09:31 AM
 
qwerty qwerty is offline
 

Advanced Member
  
Join Date: Aug 2006
Location: UK
Posts: 94
 

Default Re: PayPal standard - show product items

thanks but sorry for sounding stupid but what kind of patch is it
__________________
x cart v 5.2.10
ver 4.7.7 Gold Plus
Reply With Quote
  #44  
Old 09-28-2012, 09:35 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: PayPal standard - show product items

On the same page - you apply it in the patch section not in the mysql section - http://help.x-cart.com/index.php?title=X-Cart:Applying_Patches
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
qwerty (09-28-2012)
  #45  
Old 09-28-2012, 09:40 AM
 
qwerty qwerty is offline
 

Advanced Member
  
Join Date: Aug 2006
Location: UK
Posts: 94
 

Default Re: PayPal standard - show product items

thanks
__________________
x cart v 5.2.10
ver 4.7.7 Gold Plus
Reply With Quote
  #46  
Old 09-29-2012, 10:43 AM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: PayPal standard - show product items

I may be mistaken, but I think there may be an issue with the way the mod is configured.


If you have a coupon, it does pass the discount to Paypal; however, it seems to be on the wrong side of the equation.


In my screenshot, everything above the line are calculations made by X-cart and everything below the line are calculations made by Paypal. Currently, the discount is showing with the Paypal calculations, which makes it appear as if the discount was some how from Paypal.


I have circled where I think the discount should show as well as where it is currently showing.




Any help would be appreciated!

Thanks
Attached Thumbnails
Click image for larger version

Name:	paypalmod.JPG
Views:	259
Size:	22.8 KB
ID:	3211  
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #47  
Old 10-01-2012, 09:35 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: PayPal standard - show product items

I seem to have found another issue with Paypal. I am not entirely sure if it is from this mod or just the way that Paypal acts in general.


When a user places an order and enters a different ship to address than the bill to address, Paypal is displaying the bill to address as the shipping address.


To add to the confusion, Paypal emails users a confirmation which is also showing the incorrect information.



Any ideas?
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #48  
Old 10-02-2012, 12:32 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: PayPal standard - show product items

Quote:
Originally Posted by Pyro
I seem to have found another issue with Paypal. I am not entirely sure if it is from this mod or just the way that Paypal acts in general.
...
Any ideas?

The provided patch does not make any changes to this part. So, most likely it works the same way in original code. Have you tried that on a clean X-Cart installation?

If you find an issue with the default software feel free to post it here -> http://bugtracker.qtmsoft.com/bug_report_page.php
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #49  
Old 10-28-2012, 06:16 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: PayPal standard - show product items

Alex,

I think I have found a bug (a real one this time) with this patch.


It involves product options and product variants.


If a product with a product option is purchased, Paypal does not display any relevant information (related to the name of the product, its options, or its SKU).

I have attached an image to show what I mean.



Also, if a product has variants, the item name and SKU are displayed properly; however, the "options" column of Paypal does not display anything. In the case of the image I have attached, the product that I have blacked out is a shirt. It has two variants, size and color. As you can see, neither option is showing on Paypal's end.
Attached Thumbnails
Click image for larger version

Name:	novar.PNG
Views:	259
Size:	10.6 KB
ID:	3254  Click image for larger version

Name:	noprodop.PNG
Views:	262
Size:	8.2 KB
ID:	3255  
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #50  
Old 10-29-2012, 04:33 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: PayPal standard - show product items

OK, thank you. I'll check it and provide the solution if possible.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
Duramax 6.6L (10-29-2012)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:43 PM.

   

 
X-Cart forums © 2001-2020