close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

PayFlow Pro Cart Detail in PayPal

Thread began 10/02/2014 9:32 am by keith505 | Last modified 10/03/2014 7:07 am by keith505 | 1721 views | 3 replies

Jason ByrnesWebAssist

from the payflow pro documetation, page 68:
https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_payflowpro_guide.pdf


  Parameter Description Required Type Length
Retail Transaction Advice Addendum Parameters (for SWIPE transactions)
L_DESCn Description of this line-item (n is a line item No Alpha- 19 number from 1 to 6) numeric
L_AMTn
Amount of this line-item (n is a line item number No from 1 to 6) Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators
(1234.56 not 1,234.56) Examples: tip=3.00, convenience charge=2.00
Numeric 12
L_QTYn Quantity of this line-item (n is a line item number No Numeric 3 from 1 to 6)  



so the only info that can be passed for each line item is:
item desc: Max 16 characters
item amount
item quantity

on the confirm page, we use this code to pass that info:

while ( !$eCart1->EOF() )      {
$nextIndex = count($PP_PayPro_itemized[0]);
$PP_PayPro_itemized[0][$nextIndex] = "L_DESC" . strval($cartIndex+1) . "";
$PP_PayPro_itemized[1][$nextIndex] = "".$eCart1->DisplayInfo("Name") ."";
$nextIndex = count($PP_PayPro_itemized[0]);
$PP_PayPro_itemized[0][$nextIndex] = "L_AMT" . strval($cartIndex+1) . "";
$PP_PayPro_itemized[1][$nextIndex] = "".$eCart1->DisplayInfo("Price") ."";
$nextIndex = count($PP_PayPro_itemized[0]);
$PP_PayPro_itemized[0][$nextIndex] = "L_QTY" . strval($cartIndex+1) . "";
$PP_PayPro_itemized[1][$nextIndex] = "".$eCart1->DisplayInfo("Quantity") ."";

$eCart1->MoveNext();
$cartIndex ++;
}



paypal should show the item name, but that is all they allow us to pass.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...