Pay with PayFlow and Refund with REST - rest

I want ask,may i Pay with Payment Advanced what use Payflow,but refund use REST.I do this,but when i fefund,i get "Exception in HttpConnection Execute: Stream was not readable.".Now i want know is Payflow can use with REST,is anybody success do this.

Currently you cannot pay with Payflow and the refund with REST. The REST API uses a separate set of (resource) ids, this means that the REST API refund operation expects an id that comes from a payment made with the REST API.

Related

How can i find a transaction in paypal which is not made via rest api?

I am not able to find payment or sale object in paypal with the txn_id returned in IPN message. I want to process refund via rest api call for such transactions.
In general, you can perform a refund via REST API call only if your transaction was made via REST. Anyway, it depend of the flow that the transaction followed...
If you want provide further details, I will be more than happy to provide more information about.
Thank you in advance.

Does PayPal REST API support adaptive payments?

I need to charge fee at every transaction made via PayPal so when user pays via my application i need to charge additional $1 to my PayPal account.
I know Adaptive payments in Classic API can do what i need. Is there a support for this in new REST API?
The REST API is a replacement to the Adaptive Payment API. However, if I understand that you're asking for the more complex payments like chained, parallel or split, then I believe they are scheduled to be supported by the REST API by early next year (2015).

How can I cancel a PayPal Billing Agreement via an API call

I'm using PayPal NVP API to do reference transactions with express checkout. I create billing agreements and charge using the agreements in sandbox and in a production environment, however when I try to call BAUpdate (METHOD=BillingAgreementUpdate in the NVP API) I get the a response with error code 81002 and description
Method specified is not Supported
I can't find anywhere in PayPal's docs if this method is deprecated or if I need to send something else.
The proper call is BillAgreementUpdate (confusing, I know). That should let you cancel your billing agreement.

PayPal REST API equivalent of GetExpressCheckoutDetails

As far as I can tell, this doesn't exist yet, but I was wondering if anyone knew if there was an equivalent of the PayPal Payments Pro NVP call "GetExpressCheckoutDetails" in the new PayPal REST API.
The REST API documentation lists information on authorizing the sale and the redirect contains the token that would be used in Payments Pro but there's no docs on how to retrieve the Billing/Shipping info prior to executing the sale (after which I assume you can retrieve that information through the "Look up a payment resource" call of payments/payment/{id}
Tangential question in case PayPal official response comes in: Is recurring payment support coming to the REST API soon or will it be exclusive to PayPal Payments Pro?
You can look up a payment resource even before you execute it. However, we have a bug in the API that doesn't currently return the shipping information.

What should be the Request Format for Adaptive Payments through Paypal REST API?

I was able to successfully make simple transaction through Paypal new REST API, but I want to make adaptive payment through it. I googled and read the paypal api documents but could not find how to construct the request format to make adaptive payment. So need guidance for creating the adaptive payment request for REST API.
Adaptive Payment transactions are not yet supported for the REST API process. New features are planned for REST and are added often. There are plans for adding support for Adaptive Payments but there isn't a set date or anything like that.