I am trying to implement Google Checkout in my website.
I have the PHP code sample named "checkout-php-1.3.2" from http://code.google.com/p/google-checkout-php-sample-code/.
I have followed the instructions and am able to send contents to Google Cart successfully.
The problem is i do not know how to update my website's database after the payment has been made.
I looked a little in the demo code and there is a page responsehandlerdemo.php and there i can see a lot of notification cases namely
merchant-calculation-callback
new-order-notification
order-state-change-notification
charge-amount-notification
If anybody can provide any help regarding which callback to use and how to parse the xml.
It will be very helpful.
Regards,
Sourav Mukherjee
With the exception of merchant-calculation-callback (ref), all the other notifications mean something to your order processing (everything that has to do after successful checkout).
E.g.
new-order-notification - is what it says it is, data representing a new order
order-state-change - orders move into different states (status), so this notification notifies you of them
You should go over the Developer docs particularly the Notification API for details.
I'm not a PHP developer (.Net) but I've seen the sample code and it already includes XML parsing for the notifications you receive. Once you get to know the API, you'll know when/where in the flow you need to add your business code (i.e. database storage, etc.).
Related
I read an article about Microsoft Flow. I was wondering if it is possible to trigger events using this in an external website.
For instance, supposing a post is made on Yammer for some approval flow based application. If an authorized user comments saying "Approved", this must trigger an action in my external website.
Is this feasible using Flow?
You can also make your own custom connectors if your website has a RESTful API. https://learn.microsoft.com/en-us/flow/register-custom-api
There is an event for Yammer in Microsoft flow. I have something set up similar for my company and Twitter. When our company is mentioned it sends a message off to our social director.
I have several such flows for things like Yelp, Twitter, Facebook.
You need your Yammer account.
The events that you can trigger from and then include a trigger word or phrase are:
Get All messages
Get Messages in a group
Get Messages from my Following Feed
Post Message
Once you have that trigger its simple enough to look for the key word within a condition step.
Chances are good there is already a template for this in Microsoft Flow. Just look at the ones for Yelp, Facebook, etc. and modify for your needs
Just as AJAX mentioned, you can apply your own Custom Connector for a case like this. A Connector is the "plugin" used with a Flow, such as Yammer.
It's a bit late since November 28th (practically a 30-day late response here), but PowerApps allows you to create your own Custom Connector applying Microsoft's API. You'd be able to plug into your website (GET, POST, etc) directly with this when you create a trigger (the condition met true) that would launch an action. If you created your own API, Microsoft would have to validate if it's met standards pertaining to security.
By applying PowerApps, you'd be able to create your own actions and triggers. From this, you can integrate your own web based process' based on documentation that was observed: https://powerapps.microsoft.com/en-us/blog/brand-new-custom-api-experience-in-powerapps/. From here, you'd be able to customize it was needed.
JSON is required for some circumstances, however Postman would be a great IDE to consider as it also applies a pre-approved API by Micrsoft.
I already searched a lot and saw this link.
I setup my google analytics with configuring magento native Google API by using account type the Google tag manager. I am able to see page views, All sessions and sessions with product views. however, the rest are 0. please take a look at the following image:
I debugged the google tag manager with debug tool and I can see that purchase tracking with purchase event is being fired, however, I do not see it in google analytics.
I already setup what the this link provided,
Also I see that data layer has the purchase information id,revenue,tax,etc.
I am wondering what needs to be done so that sessions with transactions will get recorded?
here is the configuration that I have for the tag:
I'm not sure what's wrong?
If those are the exact tags that you are using, then there looks to be a typo in your Purchase trigger. You've got Event equals puchase (typo for "purchase"). You don't need to define this value again, and it would be sufficient to just have Event name of purchase (ie. you don't need the This trigger fires on).
So I'm trying to implement a payment solution for my website and after quite a bit of research, I'm still lacking a complete solution. I'm running Laravel 5.0 and need general shopping cart payment functionality. I thought I would post this to try to create a reference to help others that may be having this issue. I got as far as getting test transactions into the Paypal sandbox and that's where the brick wall has seemed to come in, but a complete overview would be helpful. I’ll list my issues that I need to overcome in order to issues some run into.
Issues needing to be resolved to complete the payment solution implementation
My biggest issue with what I've seen has been receiving the
notification of successful payment processing back, but I'll walk
through what I've seen thus far. I'm not sure how to set up a listener or other methods of detecting a correct payment processing
Dealing with Credit Card information when I’m trying to avoid it
for the time being – I’d like that to be done on the gateway website
Potentially kicking off some of the calls to these APIs in Laravel
when the user checks out
I’m trying to move items to my server, but the development is being
done locally which creates an added issue
The options
There’s simply Paypal
I’ve taken the basic form implementation as far as getting payments into Paypal, but I can’t seem to get payments out. I’ve tried the returnURL and that doesn’t seem to work
I do not necessarily like this option because it seems to be leaving a lot of information in the form that would seem to be better kept private on the server
I’d like to use something complete on git but I seem to find the documentation incomplete
https://github.com/thephpleague/omnipay-paypal
--Not sure how to implement this in laravel
https://github.com/ignited/laravel-omnipay
--doesn’t appear to be being used
https://github.com/net-shell/laravel-paypal
https://github.com/anouarabdsslm/laravel-paypalpayment
--The card information is not intuitive here as that’s what going to
paypal’s supposed to manage
It would be nice to use Paypal express but I don’t see a ton of resources specifically for that.
There's Aimeos.
I don't necessarily feel safe with manually implementing the vsrf
protection and it doesn't seem to offer that much more on the payment
front than
I’m open to others that are complete and charge similar fees to Paypal
Stripe doesn’t work for me. I’m not doing a basic subscription
Any complete thoughts would be greatly appreciated as documentation left short has caused issues in this case. Thanks!
This PayPal PHP SDK will make all of the PayPal classic API calls very quick and easy for you. It's available on Packagist/Composer and can be applied to Laravel very easily.
It supports Express Checkout, Payments Pro, Invoicing, Transaction Search, Transaction Details, Refunds, etc.
This is done in Laravel 4, but I had begun this "PayPal Glass" project a while back to show how the class library / sdk can essentially replicate everything you can do within a PayPal account. Here it is running on my local test server.
So yeah, that SDK should be able to handle everything you need to do with PayPal inside a Laravel project.
I'm trying to track an AppOpened event via Parse.com's Rest API, specifically related to the consumption of a push notification via a POST to https://api.parse.com/1/events/AppOpened
Since there's really no documentation on doing this, I was hoping adding a "push_hash" key inside the data sent to Parse would be enough, but I guess I'm just not that lucky.
Does anyone know what the required data for tracking push consumption via an AppOpened event is? I couldn't find anything online and was really hoping someone here could help (especially considering every support page they have points here).
Thanks~
You are right, there poor documentation but from other hands some people already meet this issue. And you can check their code for your situation:
Setting up a App Opened event
App-Open Analytic
Track App Opens with JavaScript
Try to use anything from this (use app & REST keys) and describe your result more detailed.
I've Googled this a 100 times, and I must be looking in all the wrong places, or looking up the wrong terms. I just don't know.
Basically, in my Google Checkout inbox, I can see all my customers' orders: Chargeable, Canceled, Charged, etc. I can export the CSV at the bottom of the page too.
However, is there an API I can use to write a script to export Charged orders between 2 dates?
I see tons of API info for using Google Checkout to make and accept orders, but I can't find anything to pull my merchant data OUT.
Well, of course I find the answer RIGHT AFTER posting this. So, I would like to share what I found in case someone else has the same question.
Google's Polling API (beta at time of posting this)
http://code.google.com/apis/checkout/developer/Google_Checkout_Beta_Polling_API.html
And Notifications:
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html
It appears that Polling allows you to request information and Notifications requires a secure web servers for sending notifications about orders to your server.
There is also a tool available (report.jar) that will allow you to leverage the Polling API to create detailed reports. The article below covers how to use the report.jar tool:
http://code.google.com/apis/checkout/articles/Order_Report_Tutorial.html