Forum Moderators: buckworks

Message Too Old, No Replies

PayPal Questions

         

pedrodepacos

12:37 am on Jun 28, 2003 (gmt 0)

10+ Year Member



Hello,

I am in the process of developing a custom shopping cart for our company. As one of our payment options, we will allow our customers to pay through paypal. I am using asp.net to develop the shopping cart and I am now creating the function that passes the customer's shopping cart to PayPal for payment.

I am passing the cart variables throught the URL and we are concerned with people being able to see (and change) the cart information (ie. price) through the URL. Does anyone have any suggestions for us? I realize that I could check the price for each product during the Instant Payment Notification, however, the payment will have already been completed. Also, what do I do if I find out that someone has changed the price of a product? I would like to say that I could keep their money and not send them their order.

If there are any asp.net experts out there, can you tell me how to send my customer's shopping cart variables without using the URL?

Thanks, and I'd appreciate any advice as this is our first forray into e-commerce.

ggrot

12:52 am on Jun 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, I custom wrote all of my interface with Paypal, so my answers are specific to asp.net. For one, There is an option to do a POST URL to paypal instead of a basic URL. That wouldn't stop everyone, but it would definitely reduce the number of people fudging the numbers. I can tell you that I've done thousands of orders this way and nobody has fudged the numbers.

Assumming the did, which is always possible, yes you would have to realize that on the IPN side of the transaction and handle it accordingly. You have the option of not shipping the order, and then manually refunding the payment through paypal (paypal lets you do this for free). You could also tell the user you will refund the payment minus a 5% processing fee if you want. They are attempting to cheat you out of money, so I doubt you'll see them complain too much. I wouldn't outright keep the money though. Thats rather mean IMHO.

pedrodepacos

1:16 am on Jun 28, 2003 (gmt 0)

10+ Year Member



I wouldn't keep the money (although it shouldn't be a crime). Thank you for your response, it's good to know that some people are having success with PayPal (all I hear are horror stories). Could you share your expertise with me and tell me how you do the "Post URL" in ASP.NET? I've been looking everywhere and haven't been able to find the answer.