PayPal Express Payments using Paypal Payments Advanced (and the NVP API)

I am using Paypal Payments Advanced with a posted payment page (iframe). This gives customers the opportunity to click the "pay with PayPal" button (button) "PayPal Express Checkout" or pay with a credit card. Everything seems to work just fine, except that I was not able to get individual positions to show when passing parameters using the NVP API. Instead, I see only the total amount (see the figure below).

paypal checkout

And I also think that this means that positions are not sent at all (even when I pay with a credit card), because when I log in to PayPal, I don’t see any positions to view transaction details.

Here are the NVP options I'm currently using:

"PARTNER" => "PayPal", "VENDOR" => "company_here", "USER" => "user_here", "PWD" => "password_here", "TRXTYPE" => "S", "AMT" => "2.16", "ITEMAMT" => "2.00", "TAXAMT" => "0.16", "L_NAME0" => "Test Product 1", "L_DESC0" => "Test Product Description", "L_AMT0" => "1.00", "L_TAXAMT0"=> "0.08", "L_QTY0" => "1", "L_NAME1" => "Test Product 2", "L_DESC1" => "Test Product 2 description", "L_AMT1" => "1.00", "L_TAXAMT1"=> "0.08", "L_QTY1" => "1", "CUSTOM" => "Custom Text Here", "INVNUM" => "Invoice12345", "CURRENCY" => "USD", "CREATESECURETOKEN" => "Y", "SECURETOKENID" => "token_here", 

Any ideas what I'm doing wrong?

+4
source share
2 answers

According to this small section in the Express Checkout for Payflow Pro document (p. 19):

In order to enable position support in reference transactions, which includes the parameters below, you must contact Merchant Technical Services at http://www.paypal.com/mts :

 L_NAMEn L_DESCn L_COSTn L_TAXAMTn L_QTYn 

So, I called PayPal technical support and they included position support in my PayPal manager account. However, items in the transaction are not sent. Therefore, I called them again, and they informed me that for the payment stream, the positions will not be displayed in the express cashier, and you will also not be able to view them in the transaction details in your PayPal account. They are largely ignored. They are actually used for some processors, but since my processor is PayPal, they have not been used.

The idea is that (let's say you have a shopping cart) you show a breakdown of the positions on the payment screen, just before the user pays (maybe the same screen on which you have advanced payments iframe, aka, placed on the verification page), Then, if you ever want to see which items were purchased for a particular account, you need to make sure that you saved this on your web server, not PayPal. Then you can view the account number on paypal and compare with the order information stored in your own database.

+3
source

I came across your post after facing a similar situation. I also use paypal on my two sites. One website processes orders via iFrame and successfully handles line item support, while the other has difficulty. I got the same thing with PayPal support about how the position for certain PP transactions was not supported ... But this is not true. . After talking with all the various levels of technical support for merchants, both sites now support position details for all types of transactions available through PP.

We use shiprush, so pulling orders directly from PP is much easier than trying to link shiprush and cart.

+2
source

Source: https://habr.com/ru/post/1481309/


All Articles