I am using PayPal Adaptive Accounts to let my site users create their accounts on PayPal. I want to use light box on top of my web site's page, so that users do not feel they are going outside of my web site, i.e. I am not redirecting to PayPal site for account creation.
For this purpose, I use PayPal Adaptive Accounts "Create Account" Classic API operation.
I am getting a URL from "Create Account" operation, which I want to open in a light box.
Here, I have certain questions:
Does any body has done this before and if kind enough provide code sample for this?
After the user creates his/her account on PayPal page displayed inside a light box on my site, how my page will know if the user successfully created his/her account and show a confirmation message that his account in PayPal has been successfully created.
Does PayPal provide any JavaScript for this purpose or I should create my JavaScript code of my own? Can dg.js be used? I am confused.
Thanks.
Unfortunately, lightbox feature is not supported due to security concerns. However, paypal supports minibrowser. As far as knowing when somebody is done setting up their account, with the minibrowser flow they would get an IPN when the password is created. SDKs have sample code for this.
Reference: https://developer.paypal.com/webapps/developer/docs/classic/adaptive-accounts/integration-guide/ACIntroduction/
Related
I have zero programming skills / knowledge and am trying to integrate paypal express into my shopping cart by following instructions but I don't know what I'm doing and don't understand a lot of it. I would love some help if someone can help me out.
I have created a developer account and gotten the user and password and API certificate and inserted them into my cart settings.
I read on the cart integration instructions I need sandbox credentials to test the integration with a dummy purchase.
So I eventually find some very rough instructions on paypal developer which I dont fully understand, you have to create an app to get tehse credentials? I dont even know what an app is, what its for but I create one somehow, but I dont see any sandbox credentials anywhere, when i look in my manage apps page I see this thing I have created and "sandbox ID" and "Live ID" codes next to them. I am not sure what they are and how I use them, are these credentials?
In paypal developer instructions for the credentials I see it says to go to the paypal account the money will be deposited in, "Get your test credentials by navigating to the Profile > API credentials tab of the Business account you want to use in your request:" but when I go to my paypal account I cannot find this. I do not have a business account (premier) but I was under the impression you didnt have to have a business account to integrate paypal express checkout, you had a choice with either premier or business. Do I need to upgrade to business absolutely? Is this where I find these credentials? Am I barking up the wrong tree with the application stuff? Let's say I finally get these holy grail credentials to test the integration, what do I do with them? I have no idea. I am very sorry for my total lack of knowledge and understanding and thank oyu to anyone willing to help me out.
I am trying to integrate the checkout with Viart shopping cart. Thank you.
You don't need to create an App for Express Checkout. That is only for Adaptive Payments, and Express is not part of that. All you need are the API credentials.
The easiest to get those credentials is to use this tool. Sign in to that with your PayPal account and it will return your username, password, and signature.
Assuming that Viart has PayPal Express Checkout integrated already, then you'll have somewhere in your control panel where you can enable it as a payment gateway on your site, and then within the settings of that somewhere it would be asking you for those credentials. Once you fill those in correctly and enable Express Checkout, it should show up and function for you in whatever way Viart has implemented it.
I'm not a programmer, a developer, or a genius. I'm a semi-intelligent person who wants to build a single-serving Web site that provides a simple service for a fixed price.
So I just need to test a single "Submit & Pay" button that I've built using a Machform form. You fill in the form, press the button, and it directs you to Paypal to complete the payment.
Everything is working until I get to the Paypal part. But I don't want to start paying Paypal fees just to check if it's working okay.
There seems to have been a Sandbox option in the past on Paypal, but after creating a basic Sandbox account, it... doesn't work. Links go nowhere, and even the main site (cms.paypal.com) goes to a 404 page. The "Getting Started with Sandbox" link goes to a broken page. The "Sandbox User Guide" attempts to load a PDF on a site I don't know, and don't trust.
The "Sandbox" options on the main site -- when they don't go to the semi-broken, I-guess-abandoned "Sandbox" site -- go to developer.paypal.com, which is way too much gun for me. Even a Google search for "paypal sandbox" now leads exclusively to developer.paypal.com links.
I just need to confirm that my "pay" button will execute correctly in Paypal; I don't need to build a multi-platform API that configures my JavaScripts to execute a parallel-stream optimization option on a scaleable interface across mobile devices with integrated IPNs and a side of fries.
What's the best way to do that?
The sandbox is indeed what you need for testing, and you do need an account at developer.paypal.com in order to use it. It's not a complicated thing, though. You don't have to get all crazy with it if you don't want/need to.
Go to http://developer.paypal.com and login there with your PayPal account. Once logged in click on Applications and then go to Sandbox Accounts.
Use the Create Account button to create at least 1 seller account and 1 buyer account. For the seller account just make it a business account. For the buyer account you can make it personal or business.
Launch your sandbox seller account and login to that. This is your fake PayPal account that you can use just like your own. From within that account you can create buttons just like you do from your live account, and you can place those buttons on pages to test with.
Then when you launch that page in a browser and click on the button it will send you over to sandbox.paypal.com instead of the regular paypal.com, but it will all look very similar to what a buyer would see during payment. You can use the buyer sandbox account you created to complete the purchase exactly as you would with a real account.
After that you can login to the seller or buyer account to see how things would look for each person in the transaction.
I have been using Adaptive Payments for a while but recently it has started to let me down. The lightbox feature is good, but users are hardly ever signed in to their PayPal account so a popup is required. The PayPal popup gets blocked by all web browsers these days and my users are not noticing this, even though I have a big message to warn them next to the payment button.
I have tested and have working the full page solution, i.e. redirecting to
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=AP-XXXX
This works fine though I also need to customise the page logo on the PayPal page depending on the domain (I provide my technology white labelled).
Is there any PayPal service that allows me to perform charges on behalf of other users business accounts or do I need each business customer to create their own API account with PayPal?
You can use the Permission API to do transactions on behalf of other account holders, https://developer.paypal.com/webapps/developer/docs/classic/products/permissions/
i have some difficulties creating test account in sandbox. I found some similar topics but i still can't understand what to do.
For example this one "How to create test account with PayPal Payments Pro (Use to represent yourself as a merchant using Pro) option selected in sandbox?"
It says login in developers site, ok, done with that. Then "click on the link Preconfigured". What link? I can't find it. It just does not exist on that page and on any other that i searched.
Why i cannot login to https://www.sandbox.paypal.com with my seller account from sandbox, but it's possible to login using clients accounts (personal) from sandbox.
Do i need to apply to Paypal Payments Pro after i registered my sandbox account, and if i need why do i get "Service is not responding due to an internal error. Please contact customer service at +1-888-883-9770.". Also what social security number do i have to use(i just want to check integration with paypal, i dont have any bank accounts or social security numbers. i'm not even from usa)?
Do i need to accept licence agreement and where can i find it? According to this document https://ppmts.custhelp.com/app/answers/detail/a_id/642/kw/10501 it's located somewhere inside the "Merchant Services" tab. After about an hour of search i found it in old interface. When i click it i'm being redirected to "My account".
Please, help me somebody. I'm sick and tired of that buggy, laggy and terribly designed paypal's site.
Once you are logged into developer.paypal.com, click "Applicatons", then click "Sandbox accounts". You see a blue button at the top of the page that says "Create Account". When you create a business account, you will automatically be signed up for PayPal Payments Pro.
You can then grab your API credentials by clicking the "Profile" link from developer.paypal.com.
Edit:
Updating answer with additional information about creating test accounts.
https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/ug_sandbox/
Is there any known way (an api or something of the sort) that I could use to create my own user checkout experience for Paypal?
So, for instance, the user clicks my donate button which takes them to my donate page. I collect the needed user information and pass it securely to paypal using some auth method without ever redirecting away form my site or using their "Customize your Payment Page" (which is entirely not customizable enough for me).
I've looked through their myriad of api's but haven't found anything useful yet.
Thanks!
This can be done using the Direct Payment API. In order to use it, though, you need to have a Payment Pro account with PayPal.
If you plan to implement it with FuelPHP, then there is a feature rich, driver based, package here.