Paypal web payments standard - Refunds. Can they be done via the Api? - php

I've been pulling my hair out going through the Paypal documentation maze. My question is simple. Is it possible to instigate a refund via an API call with web payments standard?
I know you can with the pro version as I've found various bits of documentation dotted around the place. I also found This bit of info from Paypal but it doesn't seem to mention any version requirements or a url to send the call to.
Many thanks!

Yes. RefundTransaction can also process refunds from Standard or Express Checkout transactions.
It won't work for Payflow Link or Pro however.

Related

How to correctly integrate PayPal's API with paypal payments pro?

I just finished building a donation form on a client's website, which processes payments through PayPal's classic api. It works fine in Sandbox mode, but I'm getting a 10501 - This transaction cannot be processed due to an invalid merchant configuration. error.
I know that this error is caused by PayPal payments pro not being enabled on the account the API is trying to access. That is were I'm somewhat confused. The account I'm connecting this donation form to is subscribed to Paypal Payments Pro.
When I first encountered the 10501 error, I thought that PayPal may require myself to log in and enable the Payments Pro service. I found a "get started" button under the payments pro section of the site, but when I click it, I'm taken to a page which only provides a link to the API documentation.
I've never worked with PayPal's API before or launched a live paypal application. I'm hoping someone can point me in the right direction.
NOTES
Just to make it clear, the PHP donation form DOES work in PayPal's sandbox mode
I have acquired the correct API keys from the live account and I know for a fact that I did not mix up the live credentials with the sandbox.
this donation form is on a website, not an mobile app (do I still need to register it as a paypal app?)
Thanks
A lot of times what happens is that PayPal enables the Virtual Terminal for you, but not the DoDirectPayment API. I would just give them a call and let them know you have Pro, but your DDP calls are resulting in this error, and they can probably get it enabled for you.
It's also possible that your version of Pro requires you to use the PayFlow API instead of DoDirectPayment. That's something they can tell you when you call them.

is PayPal-PHP-SDK supporting to do payment to another paypal account?

I am just wondering that can i send payment to another paypal accounts using PayPal-PHP-SDK or i have to go with Adaptive payment.
I have just gone through their document but didn't find this functionality.
How about Payouts API ? You should be able to use Payouts using PayPal-PHP-SDK which is actively developed.
Also, there are few samples that could get your started really quickly. You could setup the SDK and run samples in your machine fairly quickly without any issue.
You have 2 options: MassPay or Adaptive Payments API.
Adaptive Payments has more control over the payment and is the future direction of the Paypal APIs, so that's where I'd start if I were you. It supports SOAP, NVP, JSON and XML. MassPay has both a SOAP and NVP interface.

Paypal Recurring Payment through ACH in Php

I have researched through the Paypal website regarding Recurring ACH payment in PHP but could not find any satisfying solution. Paypal has mentioned SDKS for C# & Java for Recurring ACH, but not for PHP at all. Is it possible to write a Recurring ACH PHP scripts for my website? Suggestions are welcome.
I have already integrated Recurring payment through Paypal pro (using Credit cards) but I want to enable the service through the ACH mode (Using Bank account) with recurring subscription. Is it possible with PHP?
Thank you.
This is possible using the Payflow system, but I do not know of any examples specifically in PHP that I have came across for this. You would need to use one of the examples as a model and build your own code in PHP for this.

Is it possible to integrate with Sagepay Virtual Terminal using PHP?

I'm crating a Sagepay Direct implementation for a client, which deals with taking deposits and payments, as well as refunding deposits. This is fine for online payments, but the client also takes phone payments through Sagepay's Virtual Terminal.
I would like to handle these payments through my system, which would allow a higher percentage of the refunds to be automated but, despite searching Sagepay's resources, Google, and SO, I can't find any information at all on integrating with the terminal.
So, what I would like to know is:
Is it possible to integrate in this way, and if so are there some resources I'm missing?
If there's no official API, would Sagepay implement anything that would prevent automating the process through CURL or a similar technology.
I have worked with Sagepay (both Direct and Form) before and am quite familiar with the online payment side of things, but not familiar with the Terminal.
Okay, so I talked to Sagepay support and the answer is far simpler than I was expecting. I don't need to integrate with Terminal, I just have to use the standard integration and change the value of AccountType to 'M'.

Payments Library for CodeIgniter

I started a github project a few months ago when I needed an API integration with PayPal payments. The original idea was that one should be able to use one interface to process transactions through multiple payment systems.
I've been looking into the payments ecosystem and trying to figure out what would make really good library code for a payments interface.
2 things I ran across were Chargify and Spreedly. They let you use their API to accept payments and process through payment gateways all over the world - the mantra being you build the app, we'll handle the billing.
Are there any other similar sites / services that I should integrate with as well that you know of? If you are a PHP framework user, do you have anything to add about what YOU need or want to see in a payments library? Any potential "gotchas" or "hey, think about this" you can add?
I appreciate it!
Very helpful - libraries that come really close to what I was looking for:
Active Merchant for Ruby on Rails
Payment Process 2 for PHP

Categories