X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   PayPal is launching an advanced payment interface. (https://forum.x-cart.com/showthread.php?t=55842)

cflsystems 02-18-2011 11:36 AM

Re: PayPal is launching an advanced payment interface.
 
Quote:

Originally Posted by qualiteam
Its just a quick solution, thus I'm afraid no.

PayPal expects individual prices for items, but allows only 2 digits after the decimal point. Thus having quantity passed implies devision of the price by product quantity to pass to PayPal. But due to that limit the total could became wrong e.g. for 2 products $15.77/2 = 7.885 but only 7.88 can be passed as a price for the item...


How is one item priced 7.885 in the first place? Prices in XC are rounded to the second digit after the decimal point. Even if the user tries to import price $7.885 it will be saved in the db as $7.89 or $7.88 - the price field in xcart_pricing table is decimal(12,2) type which will force the price to 2 digits after decimal point. So how someone will order quantity of 2 and have subtotal for this quantity $15.77? This makes no sense. Or is my brain fried today?

Sunray Sales 02-18-2011 11:47 AM

Re: PayPal is launching an advanced payment interface.
 
I asked a similar question in the Completed Mod section. I don't understand why you need to divide the price by 2, if your quantity is 2.

My brain also must be fried.

monokuro 02-18-2011 08:52 PM

Re: PayPal is launching an advanced payment interface.
 
Incase there is an offer of some sort - ie "Buy 2 for $9.99".

But this is why I suggested the "offer" could be put into the cart as a discount (which the advanced interface accepts)

qualiteam 03-04-2011 06:04 AM

Re: PayPal is launching an advanced payment interface.
 
Quantity issue resolved.

http://forum.x-cart.com/showthread.php?p=311727

Thomastoes 09-10-2012 11:09 AM

Re: PayPal is launching an advanced payment interface.
 
Hey guys!

I know this seems to be a dead thread, but I was wondering if there would be a way to "disable" the line item passing to PayPal?

I would like it to just show the totals, or a "generic name" for the item names.

In short, can I make it like the old paypal connection and have ONLY the total show when they pay with paypal?

Pyro 09-10-2012 05:09 PM

Re: PayPal is launching an advanced payment interface.
 
Quote:

Originally Posted by Thomastoes
Hey guys!

I know this seems to be a dead thread, but I was wondering if there would be a way to "disable" the line item passing to PayPal?

I would like it to just show the totals, or a "generic name" for the item names.

In short, can I make it like the old paypal connection and have ONLY the total show when they pay with paypal?




Thomastoes, perhaps we can help each other. I want line items to show, but I can only get it to show 1 generic name with a total...

Could you tell me what you have setup?

I have website payment standards selected. In the settings area, I have every field filled out and I am using the "api certificate". I do not have the "api signature" box filled out.

I also have the "Address override" box checked.



Thanks


All times are GMT -8. The time now is 05:52 AM.

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