java - Paypal expressCheckout integration (DoExpressCheckout) error


I have a ExpressCheckout integration setup in java google app engine and it working up to GetExpresschekout .but in finall call(DoExpressCheckout) I am unable to Authorize payment .it returns an error

RESULT=1000&PNREF=E24P1FBB8FA4&RESPMSG=Generic processor error: 13116-The transaction is in progress for this token.&AVSADDR=N&AVSZIP=N

but the same code is works in local but it is showing above error in after deployment.

Thanks in advance

1 Answer: 

I don't know why it works when testing locally, but that error simply means the user hasn't actually paid yet. This might be because the user really hasn't paid yet or because the transaction is pending verification. PayPal flags some transactions as risky and takes a few good hours to verify them.

Did you wait for the user to return to RETURNURL before executing DoExpressCheckout()? Did you verify the user didn't actually return to CANCELURL?

Did you verify with GetTransactionDetails() that PAYMENTSTATUS is "Completed" and not "Pending"? You can check `PendingReason" for more details. See Payment Review for more information on pending transactions.


More Articles

Magento EBS payment gateway - upon redirection shows 404 page

I have developed a store and using EBS payment gateway for netbanking. It was working fine but suddenly it started showing a 404 page not found error upon redirection. After clicking confirm order the customer is never directed to the EBS page but remains on the site with the page not found message!

facebook - Unable to publish an action

I'm attempting to create a Facebook Open Graph App similar to the Washington Post Social Reader, which will announce in a person's news feed when they read an article on my website, have followed the Open Graph tutorial closely, identifying an action and an object, and creating

javascript - Sending HTTP Requests Through Azure

I am trying to interact with Urbanairship via their broadcast API to send notifications to android devices on an INSERT into a Azure table.My JavaScript INSERT code on Azure is as follows: function insert(item, user, request) { request.execute({ success: function() {

Azure DNS hostname or IP reference in web.config?

When connecting to Azure services in my applications, is it preferable to use the DNS hostname or the IP?For example, I have a SQL Server hosted in a virtual machine. Should I configure my web.config with or with mvc - Payment Gateway returns Error HTTP Status - 400

I’m trying to redirect my MVC project to pay migs payment Gateway.Here’s the URL generated by my code. (For security reasons i have changed the value with the word “value” )

c# - Set time limit for items in container in CosmosDB using Microsoft.Bot.Builder.Azure (bot framework v4)

I want to set the time to live for the items in a container in cosmosDB, but I am not sure how to do so using the config of cosmosdb storage in bot framework v4. I would appreciate some help on this matter.I have read about setting time to live using DocumentClient() as documented here. However I se

c# - How to connect with bot from another app?

I have created a core bot with basic workflow to collect information from end-users, which is hosted on http://localhost:3978, and exposes an endpoint to send message http://localhost:3978/api/messages (POST) I can start and chat with bot via Bot Framework Emulator, but I dont know how to interact w

c# - Microsoft Bot Framework works locally, but fails remotely

I have this bot that is fairly complicated, but it works locally. But as soon as I publish it, it fails with the error: Sorry, my bot code is having an issue.I have tried using Application Insights, but it isn't showing the error details.The error always happens at the same point:/// <summary>

java - How to integrate KNET payment gateway with php

How can I integrate the KNET payment gateway with PHP? The gateway id only works with Java and .NET.

android - Google Actions does not work from OK Google. my app is not recognised

I have downloaded this basic example from google: if I do: adb shell am start -a android.intent.action.VIEW -d ""It will start my app. And the deeplink is being recognized.The example shows tha