PayPal Multi-Item Payment Shopping Cart

Oct 6, 2009 at 12:00 AM

I am using NB_Store_01.02.00.  When our users select 'PayPal' as their payment type and they are transfered to the PayPal site the 'cart' that appears at the top of the PayPal page only shows an Item Total rather than a breakdown of all the items purchassed.  Is this because we are using "/xclick" in the "<PaymentURL>" (see below)?  The PayPal documentation indicates that "xclick" is for single-item purchases and "_cart" is for multi-item purchases (where PayPal is to show a breakdown of items purchassed).  Does the NB_Store support both?  How do I configure for the Multi-Item cart in PayPal?

<paymentURL>https://www.paypal.com/xclick</paymentURL>
<verifyURL>https://www.paypal.com/cgi-bin/webscr</verifyURL>

Walt5

Coordinator
Oct 6, 2009 at 9:55 AM

Hi Walt,

The current paypal provider only supports the xclick.  The idea is that nb_store itself displays all the details needed.

Regards,

Dave.

Dec 7, 2009 at 11:41 AM

Hi Leedavi,

Is the current paypal provider still only supporting xclick ?
If not, can we use the cart option ?

Regards,

Ely

Coordinator
Dec 7, 2009 at 11:56 AM

Hi Ely,

The newest paypal provider has options to pass url params:-

 

<root>
        <paymentURL>https://www.sandbox.paypal.com/cgi-bin/webscr</paymentURL>
        <verifyURL>https://www.sandbox.paypal.com/cgi-bin/webscr</verifyURL>
        <PayPalID>paypal@MyWebsite.com</PayPalID>
        <CartName>TEST</CartName>
        <ButtonImageURL>/Desktopmodules/NB_Store_GatewayPayPal/paypal60x38.gif</ButtonImageURL>
        <Currency>EUR</Currency>
        <ReturnURL>http://www.MyWebsite.com/Panier/tabid/56/stg/5/ordid/[ORDERID]/Default.aspx?PayPalExit=RETURN</ReturnURL>
        <ReturnCancelURL>http://www.MyWebsite.com/Panier/tabid/56/stg/5/ordid/[ORDERID]/Default.aspx?PayPalExit=CANCEL</ReturnCancelURL>
        <ReturnNotifyURL>http://www.MyWebsite.com/Panier/tabid/56/stg/4/Default.aspx</ReturnNotifyURL>
        <MerchantLanguage>fr</MerchantLanguage>
        <paypalurl>
          <cmd>_xclick</cmd>
          <bn>NBStore</bn>
          <quantity>1</quantity>
          <undefined_quantity>0</undefined_quantity>
          <no_note>1</no_note>
          <no_shipping>1</no_shipping>
        </paypalurl>
</root>

The "paypalurl" node section can be used to add any param you wish.  The idea being you pass in the url parmas you need to make paypal work as you want.

Beyond testing this with the "xclick" and making sure it works OK with all my sites I've not done any work on this, so if you do try passing extra params to paypal your in on new ground!!...let me know how you get on?

Regards,

Dave.