PayPal preapproval mobile view - paypal

I'm successfully registering and receiving back a preapproval key with PayPal using the preapproval workflow as per: https://developer.paypal.com/docs/classic/adaptive-payments/ht_ap-basicPreapproval-curl-etc/
However, when I follow step 2:
Step 2: Redirect the Customer to PayPal for Authorization
To redirect the customer for authorization, use the preapproval key from the Preapproval response (Step 1), with the PayPal authorization URL:
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_ap-preapproval&preapprovalkey=InsertPreapprovalKeyHere
When our customer is redirected to this URL on a mobile device, the resulting screen is showing as a desktop view, as opposed to the mobile view. Is this a sandbox-only issue or is this workflow not available on mobile?
Thanks for any assistance.

You can use below mentioned url for paypal preapproval mobile view:
https://www.paypal.com/webapps/adaptivepayment/flow/preapproval?preapprovalKey=PA-xxxxxxxxxxxx&expType=mini
For Sandbox
https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/preapproval?preapprovalKey=PA-xxxxxxxxxxxx&expType=mini

Related

PayPal Convert Authorization Transaction to Recurring Payment Profile

I have set up a website that uses the PayPal Payflow API to process payment transactions using a live Payments Pro account that has the Recurring Payment service. It works by first requesting a secure token and then committing the transaction. I have this working using both Hosted Pages (layout c) and Transparent Redirect. I'm using the Payflow_dotNet dll which uses the payflowpro.paypal.com URL.
Now I was told (and discovered) that Recurring payments can't be set up using Secure token so I'm doing this in 2 steps
Create an authorization transaction
Convert the transaction to a Recurring Payment Profile
So I have step 1 working. But I have problems with step 2. Step 2 SAYS that it worked but when I go to PayPal - Profile - My Selling Tools - My Automatic Payments there is nothing there, and the authorization transaction is still listed (as pending) in my History. Sample code:
PayflowNETAPI PayflowNETAPI = new PayflowNETAPI();
string secureTokenID = PayflowUtility.RequestId;
string response = PayflowNETAPI.SubmitTransaction(nvpstring, secureTokenID);
Where nvpstring is
PARTNER[6]=PayPal&VENDOR[13]=myvendor&USER[6]=Robert&PWD[8]=mypassword&
TRXTYPE=R&ACTION=A&TENDER=C&INVNUM=243&PROFILEREFERENCE=243&PROFILENAME[38]=Mark Groseth--243--Science Center Fund&
START=09182014&TERM=0&PAYPERIOD=MONT&AMT[4]=1.07&ORIGID=ESJPC2894AFC
where the ORIGID is the PNREF that was returned when creating the authorization transaction.
This even gives me a resulting RPREF and ProfileID like RP0000000005. So where did it go? why didn't it work?
Whenever you use the Payflow API all the recurring profiles will be stored at manager.paypal.com. In other words, all the recurring profiles starting with RP... will be there in the manager account. Once you login to the manager account, go to "Service Settings", then "Manage Profiles". Here you will see the recurring profile.

Auto redirect Explanation

I'm configuring a paypal payment gateway in my website, at the moment a sandbox is configured and I'm using paypal standard. Everithing works fine except for some small thing I need to discuss with you:
after user (redirected to paypal site) make the payment is there a way to redirect automatically after the payment is done...I would avoid that user has to click the link: "return to xxx website". ( I have seen and used many websites that use to redirect to paypal but after payments is done the really automatically redirect to the website...without any additional click)
I have personalized the aspect of my page under paypal account (in sandbox mode) but when i test the payment the page is not personalized but show the standard one...so my question is personalized pages works under sandbox?
For paypal standard subscribe button is required an HTTPS protocol or they accept also normal urls?
1) If you are using PayPal Payments Standard (Buttons) then you will have the return to merchant at the checkout page, this is because the payment is complete at this point. What you are thinking when you are redirected back immediately is ExpressCheckout and the merchant can process the payment immediately or by user action.
2) Yes, personalized pages work in sandbox. You need to make sure it is set as primary
3) For PayPal Payments Standard you do not need HTTPS, as the payment is handled on the Paypal website.

How to get live api credentials for paypal?

I am using ubercart for drupal site.In payment methods I have checked
PayPal Express Checkout
PayPal Website Payments Standard
Credit card (includes PayPal Website Payments Pro)
all these options. For sandbox account in paypal I entered test account credentials and its working fine. Now I need to change to Live, but i don't know how to get credentials for live account.
This is the status of paypal developer page
how do I get live API credentials such as (API username,API password,Signature)??
Any help will be appreciated.Thanks in advance.
You are looking at REST API Credentials which has Client,Secret Id for REST API calls
To just get Classic API Credentials:
-log in to your PayPal Account
-click on Profile->My selling Tools->API access
-click on Request API-Credentials
-Option 1 PayPal API,click on Set up PayPal API credentials and permissions
-option 2, click on Request API credentials
-choose Request API signature and click on Agree and Submit
-Your Credentials are displayed to you
--or --
Just click this link and enter your paypal login credentials.

Use paypal Express checkout in minimum steps using nvp in asp.net

I want to use paypal express checkout in my application in minimum steps
like:
click on paypal button-> verify account on paypal-> back with token to my application ->
confirm the payment->successful msg ->credited into my account(user not redirect to paypal) only get success message on application
currently paypal confirm the payment of user in paypal site but i want it to my application
and user only once redirect to paypal site for account verification rest all process done in to my backhand side of asp.net application
I guess that's the way Paypal works.And where is a call to getExpressCheckoutDetails.
If you want paypal shipping details on your webpage you need to make call to this method.
It will return you shipping detail and then create a button for say "Pay" and call doExpressCheckout method of PaypalAPI to complete your transaction :D
You can try this as a starting point: https://paypal-labs.com/integrationwizard/ecpaypal/main.php (SSL is expired or invalid so you'll have to add security exception, but it works)

How do I get an application id for Paypal?

I received API credentials but I need api application id to send Adaptive Accounts API Requests.
I used their sandbox app id: APP-80W284485P519543T.
now it's time to go live.
In order to go live, you need to register your application with PayPal to obtain an application ID.
When you submit your application to PayPal for review, the application
is quickly scanned for the requests to PayPal operations. If no
"advanced" operations are found, PayPal issues an AppID for the
production servers at the time you submit the application.
Just because PayPal docs are kind of messy like #Deekor said in the comments, I think it would be good to leave the following links in case anybody like me is wondering where the hell do you REALLY get an AppID (e.g.: for adaptive payments).
Just go to PayPal Developer, once you log in, go to Create and manage Classic API apps or directly to PayPal Apps.
Create an app, once created you get a Sandbox ID which is you AppID and the LiveID as pending.
Date: 3/28/16 (new developer.paypal.com Adaptive APPID walk-through)
Hi All - I will update this since it's been a while. Please note this is for the classic Adaptive Payment APP ID (NVP/SOAP APIs) process and not for the REST APP or BrainTree V.Zero SDK.
Do the following:
Go to developer.paypal.com
Log in with PayPal Account email and password
Click the 'Dashboard' tab up top
Click 'My APPs & Credentials'
Click 'Create & Manage NVP/SOAP API apps link
On the redirect to the classic developer portal, Login to PayPal account you want to apply for the APP ID with (a business PayPal account is highly suggestive for underwriting approval)
For Live APP IDs it takes between 24-48 hours; you should get notified when approved. If you don't, contact business support. The number is in your paypal account / contact us section (pending status)
For SandBox you'll get the APP ID right away, regardless of how you applied; live or sandbox
You should see the APP ID in the classic developer portal in the 'manage your apps' section.
For REST APP ID please click here link