I have a webpage with a subscription button, on user's click it redirects to paypal.com/cgi-bin/webscr.
I change the business input to my business sandbox account and change endpoint to sandbox.paypal.com/cgi-bin/webscr.
My sandbox buyer account appears to been working good since the balance change when test transaction is perform.
I would like to know if this test means my page meets the new Paypal security changes (TLS 1.2 and HTTP/1.1 protocols and SHA-256 and G5 certificates).
Thanks in advance.
Security upgrade will not impact the subscription button. As you mentioned, you test sandbox transactions, if everything is fine in sandbox environment, you don't need to take any actions.
Related
After I finished configuring the Paypal checkout plugin, I continue to proceed checking out, first time I can check out with my account even though the url that Odoo or Paypal lead to was sandbox.paypal.com, but with the second time I check out it don't work anymore though I can still login my account at Paypal.com, it said "Wrong username, password" times after times after I tried to login with my account at the sandbox.paypal.com url. Someone please help me, thanks in advance!
Edit: I found this but I dont know how to get it to work with Odoo Paypal button.
Testing on the Live System
It is a good idea to test on the live system to make sure the switch to the live system doesn't introduce any problems. Some things to consider when testing on live:
You will need access to a Personal account with a credit card linked and a verified Business account.
Switch from the sandbox URL https://www.sandbox.paypal.com/cgi-bin/webscr to the live site URL https://www.paypal.com/cgi-bin/webscr.
Pre-fund the Personal account to avoid incurring charges on the credit card.
Test transactions can be as little as $0.01 USD.
Payments may be refunded resulting in a full fee credit.
It is good practice to log all IPNs received in a log file or database.
If the redirect URL is sandbox.paypal.com, you need to login it by your sandbox account, not live account.
Refer to https://developer.paypal.com/docs/integration/paypal-here/sandbox-testing/managing-sandbox-accounts/ to create a sandbox account or modify existing sandbox account's password.
I read on https://www.angelleye.com/test-paypal-ipn/ that
Of course, you’ll need to make sure you’ve configured IPN in your
sandbox seller account just like you would a live account, too, so
that it functions as expected.
So how to enable IPN url in sandbox seller (buisness) account?
Could someone take a screenshot and show me. I just found IPN url in settings in live account.
I also read this but there is no such thing under Profile link:
Profile link and look for "Instant Payment Notification preferences"
Under the Sub-Heading "Selling preferences"
Does Enabling IPN for live account would enable it automatically for sand box seller account ?
When you have a sandbox account it is treated like an entirely separate account. Anything you need to configure in order for API calls to work will need to be configured separate on each account.
That said, sandbox accounts typically enable most of the APIs by default for ease of testing, while the live servers do require specific approval for use at times.
In this case, though, the IPN URL is a custom value you are setting, and again, it needs to configured in each account because they are entirely separate accounts from each other.
So, the same method you used to enable the IPN URL on your live PayPal would be used to enable it in your sandbox account. It's just that you would log in to www.sandbox.paypal.com/home using your sandbox account instead of www.paypal.com.
They may look a little different if the PayPal account versions for each aren't exactly the same, but the overall process is the same. Log in to the account, click into the profile, and find the Instant Payment Notification Preferences within your profile settings. Then set it accordingly.
I am able to create sandbox accounts successfully on paypal but when i was able to add the product (digital goods), the sandbox site redirects to a live site. My question is how do i go about adding a product (digital goods) on the sandbox account.
It sounds like you must be using some sort of class library/SDK to handle this for you and it's not redirecting correctly..??
You can do the redirect on your own. It's simply a matter of calling SetExpressCheckout to get your token and setup the digital goods payment. Then you just do the redirection on your own based on whether you're using the sandbox or the live server. For the sandbox you'd redirect to: https://www.sandbox.paypal.com/incontext?token=SECTOKEN
If you simply do that redirect on your own it should work just fine. I've tested digital goods payments in the sandbox a lot in the past and have never had any issues with it.
Add "sandbox." to the URL to sign up?
https://www.sandbox.paypal.com/us/cgi-bin/?cmd=_product-go&product=additional_payment&signup_profile=dg
I am trying to set up a Web site which is using PayPal. Unfortunately the PayPal developer site/concept is heavily changed, so all tutorials I found are seem to be useless. For example this (very good) youtube tutorial which is very clear is using not existing pages and functions...
So please try to help me only with up to date information/tutorial.
Please note my questions is not about using API, it is about how to set up an app, and a testing sandbox configuration from the ground.
1) As far as I understand I must have a real PayPal account because dev site uses PayPal account for logon (new). Logged in with this account then I can create sandbox accounts. However I would like to create a "Seller" sandbox account and a "Buyer" sandbox account. (missed I something?) Using the new developer site it is not possible. I can create only one kind of sandbox account. In the referenced video there are two types of sandbox accounts: "seller" and "buyer" in the preconfigured accounts. Or "Seller" simply means Business account?
2) I must have an application id to use the API. Note: I inherited a working legacy code which is using the classic API, so no REST please. In the video (old PayPal dev site) there is a left side menu "API and Payment Card credentials" In the new PayPal dev site no such thing. Instead there is a "My Apps".
I've tried to set up an application. It approved automatically. In its metadata I see a live and a sandbox app id.
What is not clear: To what account is associated this newly created app? I've created it logged in with my real paypal credentials.
More: ??? When filling the app creation form there was an input field titled: "Supply Test Account Name and Password". First of all how can I type the name and a password to one input field? Secondly What is it? Maybe if I use this app with its sandbox app id then this account will be the Seller (got the money) and if I change the app id to the live one associated this app, then my real PayPal account got the money?
However my goal was to completely simulate the payment process so
1) Create a Seller sandbox account (got API credentials)
2) Associate an application to that Seller account, and get the app id.
3) Create a buyer sandbox account
4a) Configure my web site with Seller API credentials and sandbox app id
4b) Orchestrate a buy process using my website, PayPal API and the 2 sandbox account
5) Check the Seller and Buyer sandbox account's transactions.
Thanks in advance
Seller account = Business account
Buyer account = Personal account
You probably only need to create one of each in Developer Sandbox Accounts , but there's no limit if your testing requires some more
To obtain the new REST API credentials, create an App in My Apps & Credentials and select the sandbox Business account to use
Legacy APIs: If testing an old integration, you can still get Classic NVP/SOAP credentials for a business account by viewing its "Profile" within your list of sandbox accounts
Just found myself in the same situation. Like you say it seems to be constantly evolving - not even sure if some of the answers here are still up to date.
Walked through it like this:
Login at developer.paypal.com
Go to Applications tab
Click on the Sandbox accounts on the left hand side
Any sandbox accounts you already created will be listed. Big blue button Create Account to create more
Think of logging in to the sandbox with your real PayPal account as logging into your Sandbox. You do this at http://developer.paypal.com.
Once you are logged into your sandbox in the middle of the screen, click on "continue testing using Sandbox test accounts".
When the next screen comes up you will see a heading of Sandbox Test Accounts and to the far right of that a button to Create Account. Click on this and then you need to create a "Personal" buyer account (your sandbox buyer who you will test with) and a "Business" seller account (your sandbox seller who you will test with).
Set up each one of these as if you were setting up a new Paypal account.
When you have them created fully you will have fictitious bank accounts to work with.
Beyond that, you may wish to check out these tutorials http://www.developphp.com/list_php_video.php where the site goes in-depth with setting up PayPal payments on a website using your own custom, basic shopping cart with a PayPal IPN (instant payment notification). You want to scroll down to the "E-Commerce Website Tutorial...". Lessons 9-20 deal with the cart and accepting PayPal. This may be an older way to do things, but it will help you get a general grounding in working with PayPal IMHO.
You also can visit https://developer.paypal.com/webapps/developer/docs/ At the bottom of the column is a heading "Classic API's" that may provide the documentation you are looking for to move forward.
Good Luck!
When the PayPal transaction is complete, PayPal shows this:
Thanks for your order
Your payment of $XXXX.XX USD is complete.
You're now going back to MYSITE.
If you are not redirected within 10 seconds, click here.
I don't want the client to even see this page. Is there any way to either avoid it completely, or set the redirect time to 0?
You will also need a Website Payments Pro subscription for that.
https://www.paypal.com/webapps/mpp/website-payments-pro
Once you have it, get the API signature, API username & API password from the My Profile area of your paypal account.
Then, use the Direct Payment method as described in the following manual
https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_WPP_IntegrationGuide.pdf
As mentioned by Watermark, you might need to review PCI requirements and at least have SSL on your site before you can do this.
Check out https://developer.paypal.com/. You can build your own interface using PayPal's API. The user will never know that PayPal handled the transaction.
Be sure to review PCI-DSS requirements when using this approach.
What you ask is achievable with PayPal Payments Standard, but the seller account receiving the payment needs to be a PayPal Business/Premier account (a free upgrade), and they need to enable Auto Return and provide a Return URL in their PayPal account > Profile > Profile & Settings > My Selling Tools > Website Preferences.
You can also pass a return URL variable to checkout for each order, which would override any Return URL (or lack thereof) in the seller's PayPal account profile; however, if Auto Return is not also enabled in the seller's account, the buyer would need to click past the end of checkout manually in order to be redirected to that URL.