CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
   Explore    Item Entry    Profile    Invite   History    Resources   SiteMap  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML




Zone: > newsgroup > asp.net forum > starter_kits_and_source_projects.commerce_starter_kit Tags:
Item Type: NewsGroup Date Entered: 8/18/2007 5:08:19 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 8 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
9 Items, 1 Pages 1 |< << Go >> >|
NickKA
Asp.Net User
PayPal Sandbox8/18/2007 5:08:19 PM

0/0

I need some help setting up the PayPal Sandbox.

What do I use for the Return Url when Auto Return is enabled?

When I save the configuration when Payment Data Transfer is enabled does the PDT ID display?

triggered
Asp.Net User
Re: PayPal Sandbox8/18/2007 5:37:09 PM

0/0

Return Url can be set in you pay pal account to be the link to send all users back to when they complete a check out. You can also set the return url by using the rm variable

in your form. This will override what you have in your profile. Note: the Auto return isn't quite auto. It requires the user to click a button to return to your site.

To anwser your question about the PDT, these are very common questions you are asking. Please visit paypal.com/pdt and there you will find, texhnical overview, and code samples.

Note: You have to have auto return enabled to use pdt.  Also, if you want to have paypal send a variable that uniquiely identifies the user to your site, you need to use the custom variable. What ever you post under that variable will be posted back to you.


______________________________________________

Best Regards,

Ryan
NickKA
Asp.Net User
Re: PayPal Sandbox8/18/2007 5:48:34 PM

0/0

I know how to set the Return Url but what do I set it to? Default.aspx or some other page?

triggered
Asp.Net User
Re: PayPal Sandbox8/18/2007 5:57:30 PM

0/0

 Set i too whatever you want. If you are not implementing PDT them most sites will do one of the following:

 1) return to the home page

  2) before checkout, submit the last url the user was at in the custom variable. Then have paypal send the user back to that url, so they can impulse buy more.

 

  If you are using PDT, then you need to read the link that I posted, cause it will strictly inform you, that when implementing PDT you must send the user to an invoice page that

  displays the information passed from the PDT about their completed purchase. This Invoice.aspx can be placed anywhere on your site.
 


______________________________________________

Best Regards,

Ryan
NickKA
Asp.Net User
Re: PayPal Sandbox8/18/2007 7:24:42 PM

0/0

What I am talking about here is getting the PayPal e-Commerce Starter up and running. I don't see an Invoice.aspx. Is there such a pre-built page in the starter kit?

NickKA
Asp.Net User
Re: PayPal Sandbox8/19/2007 1:38:02 PM

0/0

Maybe it's time to go back and tell what I am trying to do and where I am at. I setup PayPal Sandbox accounts and I'm trying to work through the first transaction. I'm doing this in the Visual Studio.Net 2005 development environment.

Since I am in a development environment, it appears I cannot configure a Return Url since I am on localhost.

Here is where I am at now: I am redirected to the PayPal Sandbox where I log in using the Personal account I setup. I complete the transaction and get to the point where it says "Test, your order is now complete." and I click a button that says "Return to NickKA's Test Store".

When I click the button to return I am sent to http://localhost:65365/Commerce.Web/PayPal/PDTHandler.aspx?merchant_return_link=Return+to+NickKA%27s+Test+Store

Once redirected back I get the error: No TransactionID - Invalid

It appears this error is happening because "tx" and "cm" is not passed back in the QueryString.

Also, the PDT ID is configured with 4wscjERBD3ik_E7hmrqVaXHilJTCegrJ5FJogluERPo8H9ixPskOmFXuQK8, by default. Should this work the first time around without modifying this ID?

NickKA
Asp.Net User
Re: PayPal Sandbox8/25/2007 4:07:12 PM

0/0

I finally stumbled upon the fix and got my first transaction working.
 
What I found with the PayPal eCommerce Starter Kit is that there does not appear to be a Getting Started guide, at least I haven't found one. People in forums will direct you to online documents that are numerous, detailed, complex, etc.
 
Answers I have gotten seem to take me off in the wrong direction or leave me hanging.
 
This is a good link to goto for basic answers: http://www.sputnik.com/docs/doc_paypal_howto.html
 
Since I am still in development mode, I have no Return Url to enter. I simply enter a valid url such as google.com. This url appears to be overridden by a "return=" parameter passed to PayPal. I'm not really clear on how that "return=" is configured, but that's what is happening and it works.
 
At least two weeks to get my first transaction working.
kvk543
Asp.Net User
Re: PayPal Sandbox11/15/2007 10:19:35 AM

0/0

 

Hi all,

i am working with paypal for money transaction

i am sending the amount details , return url etc to the paypal after transaction   it is coming to my site i am showing the approved or declined details so far is ok.

at the last page of paypal site that shows u the "RETURN TO MERCHANT"  in that page view source there is details of transaction   i want to get the               "transaction id "  which is in hiidden   like txn_id  

i want to get the transaction id    can any one help me out

using express checkout,doexpresscheckout ,PDT  , IPN we can do this

but i tried hard    no use

can any one clearly give details how to do this

 

thanx in advance

vijay 

doyleits
Asp.Net User
Re: PayPal Sandbox11/16/2007 7:08:37 PM

0/0

First, your Return URL (as you specify in your PayPal account) should be <<mysite>>/PayPal/IPNHandler.aspx or <<mysite>>/PayPal/PDTHandler.aspx. You can't use localhost, obviously, because PayPal doesn't know what your localhost is.

Once PayPal POSTs the transaction data to your IPN handler, or passes the user back to the PDT handler, you can modify the code to grab the transaction ID, and save it with your user's order. In the IPN handler, you can retrieve it with

Request.Form["txn_id"].ToString()

. With the PDT handler, you can retrieve it with

Request.QueryString["tx"].ToString()

If you don't want to save it, just display it, (and you are using PDT) you can pass the transaction ID in the query string when the site redirects to Receipt.aspx.


Mark Doyle
Doyle ITS
www.doyleits.com
9 Items, 1 Pages 1 |< << Go >> >|



Search This Site:





Other Resources:
ng.asp-net-forum.starter_kits_and_source_projects-commerce_starter_kit ... PayPal Sandbox. 8. 3. 11/16/2007 7:08:37 PM. PayPal Features in Commerce Starter. 2. 3 ... Looking for developer to integrate PayPal, Google Checkout in CSK. 5 ...
Welcome - PayPal PayPal lets you send money to anyone with email. ... To access the PayPal Sandbox, please log in to PayPal Developer Central. Home. Personal. Business ...
PayPal Developer Central The PayPal Developer Central allows developers to test their code in a secure sandbox environment for PayPal implementation and applications.
Sandbox Testing - PayPal The PayPal Sandbox gives developers the ability to test a payment integration before submitting transactions to the live PayPal environment.
Testing Instant Payment Notification - PayPal PayPal lets you send money to anyone with email. ... The PayPal Sandbox provides an environment for testing without performing real ...
Incredibly poor performance on paypal sandbox (aka paypal sandbox sucks ... ... folks have complained about the paypal sandbox and the performance on the forums. ... paypal sandbox. Submitted by JohnForsythe on Fri, 2008-03-07 14:46. ...
Sandbox User Guide Sandbox User Guide © 2006 PayPal Inc. All rights reserved. ... Differences between Developer Central, Sandbox, and Live PayPal . . . 13. Table 3.1 ...
How to setup and use the PayPal Sandbox video tutorial Learn how to use the PayPal Sandbox with DotNetNuke. ... Tutorials > DNN Tutorials for Core Modules > PayPal Sandbox. Search. Register Login ...
 
All Times Are GMT