I'm trying to test with Paypal Sandbox. I have the account with Paypal Sandbox set up, but I don't really get how to test my site. The products pages and prices are all created now. Is there a tutorial on this?
Next choose selling preference -> website payment preferences
We have change some payment preferences
First one is auto return for web payments
Auto Return shortens the checkout flow and immediately brings your buyers back to your website upon payment completion. To set up Auto Return, you need to turn it on and enter the return URL that will be used to redirect your buyers back to your site
Do we want auto return?
Change the radio button option auto return is on
Auto Return:
On
Off
And give auto return url into the textbox for example(http://e-pstech.com/TBHLearn/PayPal/OrderCompleted.aspx)
Select Request API signature By clicking Agree and Submit
For preconfigured shopping carts: Copy and paste the API username, password and signature into your shopping cart configuration or administration screen.
thulasiram12...
Member
393 Points
200 Posts
Paypal Integration With My Application??
Feb 01, 2012 09:45 AM|LINK
Hi frnds......
i referred this link to create account in paypal for testing purpose....
now i want to use this credentials into my application...
plz any one suggest me some links or C# code to test the application...
bhargav panc...
Member
219 Points
82 Posts
Re: Paypal Integration With My Application??
Feb 01, 2012 09:50 AM|LINK
Use this link to get account on paypal for testing purpose.
https://developer.paypal.com/
For paypal use guide please follow this links.
https://www.paypalobjects.com/en_US/ebook/PP_Sandbox_UserGuide/test_user_setup.html
https://www.paypal.com/cgi-bin/webscr?cmd=_ipn-test-about-outside
https://developer.paypal.com/en_US/pdf/PP_Sandbox_UserGuide.pdf
PayPal
Bhargav Panchal
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
pratik_galor...
Participant
1483 Points
330 Posts
Re: Paypal Integration With My Application??
Feb 01, 2012 09:51 AM|LINK
refer this paypal official links,
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_code
Software Engineer,
iGATE Global Solutions.
pratik_galoria@yahoo.co.in
+91-8905195943
vijay_myl
Contributor
5070 Points
1068 Posts
Re: Paypal Integration With My Application??
Feb 01, 2012 10:41 AM|LINK
hi..
Refer the below link.......
http://www.codeproject.com/KB/aspnet/paypal_c_aspnet.aspx
My .NET blog
Submit Article
thulasiram12...
Member
393 Points
200 Posts
Re: Paypal Integration With My Application??
Feb 02, 2012 08:34 AM|LINK
Hi frnds...
I'm trying to test with Paypal Sandbox. I have the account with Paypal Sandbox set up, but I don't really get how to test my site. The products pages and prices are all created now. Is there a tutorial on this?
abiruban
All-Star
16002 Points
2731 Posts
Re: Paypal Integration With My Application??
Feb 02, 2012 08:41 AM|LINK
Hi
Hi first flow the steps
<div>Papal Integration
</div>New test account: Preconfigured| Create Manually
If we choose Preconfigured
Auto Return:
On
Off
For preconfigured shopping carts: Copy and paste the API username, password and signature into your shopping cart configuration or administration screen.
string serverUrl = (config.Store.SandboxMode? "https://www.sandbox.paypal.com/us/cgi-bin/webscr" : "https://www.paypal.com/us/cgi-bin/webscr"); string baseUrl = HttpContext.Current.Request.Url.AbsoluteUri.Replace( HttpContext.Current.Request.Url.PathAndQuery, "") + HttpContext.Current.Request.ApplicationPath; if (!baseUrl.EndsWith("/")) baseUrl += "/"; string notifyUrl = HttpUtility.UrlEncode(baseUrl + "Notify.aspx"); string returnUrl = HttpUtility.UrlEncode(baseUrl + "OrderCompleted.aspx?ID=" + ID); string cancelUrl = HttpUtility.UrlEncode(baseUrl + "OrderCancelled.aspx"); string business = HttpUtility.UrlEncode(config.Store.BusinessEmail); string itemName = HttpUtility.UrlEncode("Order #" + ID); StringBuilder url = new StringBuilder(); url.AppendFormat( "{0}?cmd=_xclick&upload=1&rm=2&no_shipping=1&no_note=1¤cy_code={1}&business={2}&item_number={3}&custom={3}&item_name={4}&amount={5}&shipping={6}¬ify_url={7}&return={8}&cancel_return={9}&USER={10}&PWD={11}&SIGNATURE{12}", serverUrl,config.Store.CurrencyCode, business, ID, itemName, amount, shipping, notifyUrl, returnUrl, cancelUrl, config.Store.APIUsername, config.Store.APIPassword, config.Store.Signature);http://forums.asp.net/t/1721349.aspx/1
http://indiandotnet.wordpress.com/2009/04/14/simplest-paypal-integration-with-aspnet-in-5-steps/
***DON'T FORGET TO CLICK “MARK AS ANSWER” ON THE POST IF HELPED YOU.
thulasiram12...
Member
393 Points
200 Posts
Re: Paypal Integration With My Application??
Feb 02, 2012 09:18 AM|LINK
Hi abiruban...
thanks for giving valuable info..
let me know one thing ....what is meant by "Config.Store.SandBox"
it's getting error stating that config.store.sandbox Does not exist,same as username,password,Signature also...
plz elaborate me where i need to store all these info ..??
abiruban
All-Star
16002 Points
2731 Posts
Re: Paypal Integration With My Application??
Feb 02, 2012 09:46 AM|LINK
Hi,
replace
the Config.Store.SandBox line remove then you add "True" Then slove the prb....
It means Paypal ha been tow modes
one is 'sandbox' another mode is 'live' mode
sandbox mode is test mode so we can set the sandbox mode is true
Thanks
***DON'T FORGET TO CLICK “MARK AS ANSWER” ON THE POST IF HELPED YOU.
thulasiram12...
Member
393 Points
200 Posts
Re: Paypal Integration With My Application??
Feb 02, 2012 09:49 AM|LINK
Hi actually it is like this:
string serverUrl = (config.Store.SandboxMode? "https://www.sandbox.paypal.com/us/cgi-bin/webscr" : "https://www.paypal.com/us/cgi-bin/webscr");What to do here??abiruban
All-Star
16002 Points
2731 Posts
Re: Paypal Integration With My Application??
Feb 02, 2012 04:57 PM|LINK
HI
try this
string serverUrl = (true? "https://www.sandbox.paypal.com/us/cgi-bin/webscr" : "https://www.paypal.com/us/cgi-bin/webscr");***DON'T FORGET TO CLICK “MARK AS ANSWER” ON THE POST IF HELPED YOU.