PayFlow Pro Sale Transaction Issue - paypal

I am trying to setup my site to accept credit card payment using PayFlow Pro. I am posting a Sale transaction with following data (account details removed) to sandbox (https://pilot-payflowpro.paypal.com):
PARTNER[6]=&VENDOR[27]=&USER[27]=&PWD[11]=&TRXTYPE[1]=S&TENDER[1]=C&CURRENCY[3]=USD&CREATESECURETOKEN[1]=Y&SECURETOKENID[29]=MySecTokenID-CPVMCKB4TSR0EN3Y&RETURNURL[35]=https://localhost:44387/payment/pay&CANCELURL[35]=https://localhost:44387/payment/pay&ERRORURL[35]=https://localhost:44387/payment/pay&AMT[1]=1&COMMENT1[48]=Name: pankaj negi , StudentID: 14809, TermId:384&ACCT[16]=&EXPDATE[4]=0217&CVV2[4]=&BILLTOFIRSTNAME[6]=pankaj&BILLTOLASTNAME[4]=negi&BILLTOSTREET[18]=15402 Dry Creek Rd&BILLTOCITY[11]=Noblesville&BILLTOSTATE[2]=IN&BILLTOZIP[5]=46060&BILLTOCOUNTRY[2]=US&
And I am getting following response back:
RESULT=0&SECURETOKEN=KDTWfZBwaYEaz5pPUNxJSKQM2&SECURETOKENID=MySecTokenID-CPVMCKB4TSR0EN3Y&RESPMSG=Approved
But this transaction does not show up on Paypal manager. What am I missing.

You are trying to create a secure token which will be used to launch the hosted check out page which is Payflowlink.
Remove the following in your request and try and it should work.
CREATESECURETOKEN[1]=Y&SECURETOKENID[29]=MySecTokenID-CPVMCKB4TSR0EN3Y
thanks

Related

Paypal returns "The merchant does not accept payments of this type"

I integrated Paypal into my mobile APP and I use the REST API Calls. If I pay the ordeers using paypal account, It works succesfully, but if I use Direct Credit Card Payment (when the user doesn't have the paypal account), Paypal System return an error:
"The merchant does not accept payments of this type"
I don't found in my Paypal Dashboard where this payment type could be enabled.
Could you please help me?
Thanks
Luca
Following are checklist you should verify, probably following is the basic reasons for an error.
1: Be sure the merchant account has Pro permissions. Also, be sure the
app has gone through the developer-approval process.
2: Also, be sure the app has been approved. The app has basic
permissions until you submit it for approval.
3: You may have a Business account but to accept credit card payments
in the live environment your account must be approved for Paypal.
4: You should contact PayPal Developer Support. File a ticket at
PayPal merchant technical Support. Click on the Contact Technical
Support link to file a ticket.
5: You can call to PayPal Customer Care, They will verify your name,
DOB, Verification Code (Code will be shown in your PayPal Dashboard in
Customer support page) etc, they will fix your issue in a minute or
they will help you to fix your issue.
As per my experience to solve this issue I had to subscribe to the Website Payments Pro Hosted Solution.
There is no setup fee but there is a monthly fee and a transaction fee.
Setup link for Australia:  https://www.paypal-apac.com/hss/au/

Paypal DG Express Cannot Use Sandbox. Live Account Works Fine

I have a Paypal Digital Goods Express payment form created using their wizard.
When I use our live account it works fine. But when I use the sandbox Business (Seller) account I created, when a user clicks on the 'Buy' button, the popup window appears with only this message:
SetExpressCheckout API call failed. Detailed Error Message: Short Error Message: Error Code: Error Severity Code:
I did some research and saw this article:
https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1914&viewlocale=en_EN
It suggests that our hosting company needs to update their PHP/TLS, but I did the Curl test and it properly returns a 200 OK.
I also saw this Stackoverflow article:
Paypal "SetExpressCheckout" API method has stopped working with sandbox seller account
...where the problem was the wrong sandbox endpoint, but I've made sure that the endpoint is indeed:
https://api-3t.sandbox.paypal.com/nvp
...and it still doesn't work.
I've tried clearing my browser cache, using different computers to test and all with the same result.
Any ideas?
did you enable Digital Goods feature on your sandbox accounts?
If you have not enabled it on your sandbox account, please contact MTS(Merchant Technical Support)
https://www.paypal-techsupport.com/app/ask
to toggle it for your sandbox account.

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.

Why PayPal Request can’t be processed?

I’m trying to test recurring payment in my paypal sandbox account. I followed this link https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/ht_ec-recurringPaymentProfile-curl-etc/
I have summarized the steps what I follow
Step 1: Get PayPal Token – Completed
Step 2: Redirect customer to PayPal with Token
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=xxxxxxxx
After I send the request, paypal show the following page
After I entered the sandbox buyer account details, paypal display error message like “Currently, we unfortunately can not process your request. Return to Logical IT Solution GmbH and select another option.”
I have tried So many times, PayPal show this message only.
How can I implement recurring payment for my sandbox account without error?
You test German paypal account? If yes than Paypal recurring payments does not work with German accounts or at least not with all of them. This is some legal problem and that's why they disabled it.
Probably German law refuse to store recurring payments data on foreign servers.

obtain verified paypal email Id of merchant

I have integrated paypal with my ios application and wants my transaction to complete only if merchant has a verified paypal email id. Please help me to solve this problem . Thanks in advance.
A Get Verified Status API provided by Paypal Adaptive Accounts.
On PHP you should have to integrate SDK "adaptiveaccounts-sdk-php-namespace-php" then using API call you can verified Paypal ID.
I suugest you use this parameter: payer_status=verified for IPN or PayerStatus= Verified for Express Checkout. According to PayPal this means the following:
The payer’s PayPal account status. A value of Verified means that the
customer has confirmed ownership of a bank account or has verified his
account status through other means.
After lot of search,I found my answer ,there is "GetVerifiedStatus" api provided by paypal which is used to check whether user is having correct paypal email address .I have solved it using the link below:
https://www.x.com/developers/paypal/documentation-tools/api/getverifiedstatus-api-operation