Solved

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

Posted on 2012-04-10
7
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 110

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 110

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
Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

 

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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

626 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