Solved

How to get PayPal to show the amount and description of payment?

Posted on 2012-04-10
7
319 Views
Last Modified: 2016-03-24
We're integrating our site (not ecommerce site) to paypal and we can't get the paypal payment page to show the amount and description of purchase.  Our current payment page is called current_paypal_page.jpg as attached. But the payment page we want is paypal_page_we_want.jpg

Our code snippet is below.

"&AMT=$paymentAmount
&RETURNURL=$returnURL
&CANCELURL=$cancelURL
&PAYMENTACTION=$paymentType
&CURRENCYCODE=$currencyID
&NOSHIPPING=1&L_PAYMENTREQUEST_0_NAME0=$title
&L_PAYMENTREQUEST_0_DESC0=$transdetail
&L_PAYMENTREQUEST_0_AMT0=$paymentAmount
&L_PAYMENTREQUEST_0_QTY0=1
&ITEMAMT=$paymentAmount";

Above is the request string that i used for setExpressCheckout and doExpressCheckout. up till NOSHIPPING is working. the later part...  
L_PAYMENT... are the ones that supposed to give the amount thing.

plus those request keep on changing per version that i'm not sure which one to use anymore. i'm requesting for paypal api version 58.

everything else is working. only this part.
current-paypal-page.jpg
paypal-page-we-want.jpg
0
Comment
Question by:melwong
  • 5
  • 2
7 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
Please put up a public URL that will allow us to see these pages in action.  If you want to add an item that can be purchased for a dollar, we will be able to make the purchase and watch the scripts as they move through the process.  Thanks, ~Ray
0
 

Author Comment

by:melwong
Comment Utility
sorry i cant post the url for security reasons, and EE doesn't let us delete questions freely.
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
Uhh, you're in test and development mode, right?  Wouldn't it make sense to have a test bed so you can test without exposing anything that you wanted to keep secret?  It only costs a few pennies a day to set up a test bed and it would surely give you a lot of options for rebuilding, getting help, etc.  I strongly recommend it!
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:melwong
Comment Utility
sorry no test bed yet
0
 

Author Comment

by:melwong
Comment Utility
for the paypal payment, our site request from the paypal api
(https://api-3t.paypal.com/nvp) tokens and other info which then forwarded to the paypal page to build the express checkout flow.

the request string is the way for us to control which info to be displayed on the payment page.

there's no error because the amount and purchase info do not fall under the required string. the request can be process with or without them.
0
 

Accepted Solution

by:
melwong earned 0 total points
Comment Utility
nvm, we've fixed it
0
 

Author Closing Comment

by:melwong
Comment Utility
we've fixed it ourself
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now