X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   PayPal standard - show product items (https://forum.x-cart.com/showthread.php?t=57734)

qwerty 09-28-2012 06:02 AM

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'

cflsystems 09-28-2012 09:10 AM

Re: PayPal standard - show product items
 
This is not sql patch. You are trying to apply it in the wrong place

qwerty 09-28-2012 09:31 AM

Re: PayPal standard - show product items
 
thanks but sorry for sounding stupid but what kind of patch is it

cflsystems 09-28-2012 09:35 AM

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

qwerty 09-28-2012 09:40 AM

Re: PayPal standard - show product items
 
thanks

Pyro 09-29-2012 10:43 AM

Re: PayPal standard - show product items
 
1 Attachment(s)
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

Pyro 10-01-2012 09:35 PM

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?

qualiteam 10-02-2012 12:32 AM

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

Pyro 10-28-2012 06:16 PM

Re: PayPal standard - show product items
 
2 Attachment(s)
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.

qualiteam 10-29-2012 04:33 AM

Re: PayPal standard - show product items
 
OK, thank you. I'll check it and provide the solution if possible.

Pyro 11-20-2012 08:26 AM

Re: PayPal standard - show product items
 
Alex,

It has been almost a month. Any luck reviewing the issue?


Thanks

qualiteam 01-22-2013 04:57 AM

Re: PayPal standard - show product items
 
3 Attachment(s)
Quote:

Originally Posted by Pyro
It has been almost a month. Any luck reviewing the issue?


Sorry, we have not managed to replicate this issue in 4.5.x.

Please check the attached screenshots.

Royt 07-10-2013 11:43 AM

Re: PayPal standard - show product items
 
Alex,
I am finding that the gift wrap charge (ё3.50) is being shown as a discount in Paypal instead of an additional charge.
Although overall pricing showing Ok in Xcart order pages and cart.
Any Ideas?
Also raised this as a separate bug http://forum.x-cart.com/showthread.php?t=67326 with a bit more information and a potential fix as it appears that gift wrapping is missing from both order total calc and discount calc in file payment/ps_paypal.php

Regards
Roy

xcel 08-26-2014 11:42 AM

Re: PayPal standard - show product items
 
Quote:

Originally Posted by qualiteam
A quick mod to show the ordered items on PayPal side.

Please check these posts:
X-Cart 4.5.x. (Updated)
X-Cart 4.4.x. (Updated)
X-Cart 4.3.x. (Updated)



Hello QT... looking to get this added for G+ 4.6.3 - Can you verify if 4.5.x will work, or can you update for 4.6.x?

Much appreciated, thanks.

mcanitano 09-15-2014 07:34 AM

Re: PayPal standard - show product items
 
Quote:

Originally Posted by xcel
Hello QT... looking to get this added for G+ 4.6.3 - Can you verify if 4.5.x will work, or can you update for 4.6.x?

Much appreciated, thanks.


We just implemented the 4.5.x patch into our 4.5.5 store and it seems to work correctly. All items show with correct price, and tax+shipping.


All times are GMT -8. The time now is 03:21 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.