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'.
Related
In PHP, I am developing an application that is going to use the Braintree Marketplace functionality - for users within my platform to be able to handle escrow transactions for projects they post. I understand the code on how to do actual transactions, but I am having issues on the sub-merchant process and where that necessary code is supposed to go.
I have looked extensively on how to onboard sub-merchants with the code from their documentation, but where am I supposed to put all this? On its own separate page? The only coding example is the very basics here on Github. I need to be able to create these sub-merchants so that I can test escrow within their Sandbox.
It turns out that what I was trying to do was a limitation of Braintree itself. At that time, you were not able to test escrow transactions within their Sandbox. Not sure if that has changed over the past year.
For those looking for a much better payments API, check out Stripe instead.
Short Version:
How do I connect to my company's QuickBooks Online subscription via a PHP script to retrieve some relatively simple information like a list of Customers or a list of Invoices?
Long Version:
Okay, so I've spent all day trying to figure out how to connect to QuickBooks Online via PHP, and I'm still stuck. Either I'm an idiot, or this whole thing is more complicated than trying to make my wife happy. It looks like the QuickBooks API changes every couple years, any many of the posts from the recent past are now incorrect.
Basically, I am simply trying to write a php script which connects to my company's QuickBooks Online account. I need to do very simple things like retrieve a list of customers, retrieve a list of invoices, and so on. While researching, I found this post from June 2013:
https://stackoverflow.com/a/17226869/3195596
The post says to use qbXML, download the QuickBooks PHP Dev Kit, and look at the example in "docs/example_online_edition.php":
So, I downloaded the QuickBooks PHP Dev Kit (from here: http://consolibyte.com/downloads/quickbooks-php-devkit/) and went into "docs/example_online_edition.php". This php file now says "DO NOT USE THIS FILE ANYMORE!" It also says that "All QuickBooks Online implementations should now be using the v3 REST APIs.".
Therefore, my understanding at this point is this: Before I even connect to my company's QuickBooks Online account, I first have to create a developer account at developer.intuit.com (aka Intuit Partner Platform aka IPP).
So, I registered with IPP, and now I'm just stuck with nowhere to go. My IPP account is not connected to my company's QuickBooks Online account - am I supposed to connect these somehow?
Can anyone explain to me in somewhat plain English how I would connect to my company's QuickBooks Online account via PHP?
I am written extensively on the basics of connecting to QuickBooks. The articles are Rails based but a user of any programming environment can benefit from them.
Get started integrating Rails 4 and QuickBooks Online (QBO)
I simplified my own question here.
And the nice guys at Intuit responded fairly quickly. Their answer, as I understand it, is that I need to build an application under my QuickBooks IPP account, then use OAuth to tie it to my QuickBooks Online account.
I am (developer) using amazon marketplace payment for transaction. For this i am using marketplace fee enabled button (http://docs.aws.amazon.com/AmazonSimplePay/latest/ASPGettingStartedGuide/nomktplc.html).
I want charge a sender's card at a later point so I am using settle (advance feature of amazon marketplace fee enabled button). To settle the transaction I am trying to use this (found at http://docs.aws.amazon.com/AmazonFPS/latest/FPSMarketplaceGuide/Settle.html)
" https://fps.sandbox.amazonaws.com?Action=Settle&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&ReserveTransactionId=14GKD9GE66FAA63E6O6B2JDPZKN53LZ7F22&SignatureMethod=HmacSHA256&SignatureVersion=2&Signature=SJJLsIBghi7VIycBjX7c3hnfgZ%2FBvZbzqLtAZXDL8ys%3D&Timestamp=2009-10-06T07%3A53%3A11.750Z&TransactionAmount.CurrencyCode=USD&TransactionAmount.Value=1&Version=2008-09-17 "
My question regarding this request is
How should I use it.
From where should I call this - the browser or as a normal api call.
If it is done by api then what steps should I follow?
I made this call directly from the browser but it is always showing
'SignatureDoesNotMatch' error.
Please suggest what i should do? Any help will be highly appreciated.
The Amazon Simple Pay solution you are using gives you a very simple HTML integration. The browser does the magic here.
The Amazon Flexible Payment System (FPS) however is an API which is designed to be used by server side code (even though it could be used by JavaScript). You will have to create and properly sign requests to automate this integration. This is considerably more complex than just putting an ASP snippet into your page. I suggest you start here:
What Is Amazon FPS <- good starting point
FPS Sandbox <-- a browser playground for FTP calls
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
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.