Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-04-10
7
Medium Priority
?
330 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 111

Expert Comment

by:Ray Paseur
ID: 37827210
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
ID: 37827219
sorry i cant post the url for security reasons, and EE doesn't let us delete questions freely.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 37827306
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:melwong
ID: 37827336
sorry no test bed yet
0
 

Author Comment

by:melwong
ID: 37830902
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
ID: 37831503
nvm, we've fixed it
0
 

Author Closing Comment

by:melwong
ID: 37848070
we've fixed it ourself
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses
Course of the Month7 days, 5 hours left to enroll

783 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