Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2012-04-10
7
Medium Priority
?
329 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 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

670 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