payment gateway using Asp.net - asp.net

Hi
I am getting the user credit card info and and I would like to submit to a company using webservice, what are the best practices for that?
I am using Webservices, soap and XML, how does the submiossion happens?
thansk

It depends on the specific payment gateway you use, there is no standard method. The payemnt gateway should provide documentation.

Related

FareNabber API on Sabre - where do the notifications go

I am interested in seeing if Sabre's FareNabber is an API that works for an application I am building.
The documentation here https://developer.sabre.com/docs/read/rest_apis/air/search/fare_nabber does not explain where/how the notifications get posted to after a subscription made. All I see is the following:
FareNabber nabs the itinerary options and pushes the results to the customer for a purchase decision.
Is this an email to the customer? Is this an HTTP POST with a JSON payload to a server I provide so I can handle the actual email transmission? Where is this documented?
Re Endpoint you set this up during activation:
Note: This service requires activation, please contact your Sabre Account Representative for assistance.
Actually yes you get a JSON - its specified here: http://files.developer.sabre.com/doc/providerdoc/STPS/fare_nabber/v100/FNB_LowFareNotification.json

How to send Fax using Asp.net webapplication

I need to send fax through my web application.
after grooming all sites, i found that so many similar questions.
but still I'm confused.
My requirement is.. i want to send FAX with attachment using outlook, similar like sending an email with attachment using SMTP (by clicking on button).
I think by using SMTP we not able to send FAX.
Could you please suggest me, Can we send FAX using any open source API?
Anyone have experience with this?
please share sample code in this is highly appreciated.
You can send faxes via API using a service like InterFax, they have libraries for ASP.net as well as either SOAP or REST APIs. It appears to be free.

Triggering a Stock change externally with Restful or HTTP

I run a Woocommerce site, and I would like to trigger stock quantity changes via HTTP or via Restful API remotely.
I am asking because I run an e-commerce site, as well as a physical storefront, and I need them to talk to each other, and keep stock in sync.
How do I go about doing this?
Thank you.
There are many different possible approaches but it all depends on your POS system.
If it needs to be done via API you can write a controller to post to the inventory server, hooked in after hearing a success message from the payment gateway.

Facebook API Auto accept friend request

I've created a web application that uses the Facebook API.
I would like to implement/create a method which is able to auto accept friend request of my own Facebook account.
Is this even possible and how to implement it in C#/ ASP.NET MVC?
Thank you in advance!
*I alreay read the Facebook Developers documentation https://developers.facebook.com/docs/howtos/requests/ but haven't been able to solve my 'problem'.
There is no API to send or approve friend requests.
There is the Friends Dialog but it sounds like you want this to work without user interaction which is impossible.
If you find some way to do this, you should report it via Facebook's whitehat bug bounty program, as it indicates a bug on Facebook's side.

Asp.net, paypal and IPN.. how to automate payment?

i'm trying to integrate Paypal in an asp.net app.
It works fine, the last thing i would like to do is to automize payment notify.
In particular, how does it works IPN ? I would like to set a field to 1 when a user buy a service... How can i do with ipn ?
I'm asking here to avoid to read all 120 pages of paypal IPN documentation... ;)
Thanks in advance...
Theres lots of examples out there on how to build a basic IPN listener. Once you build one and point your PayPal account at it, all transactions will have their details sent to this listener as a request. You will need to parse out the relevant data from this request to determine the success of the transaction and process the order.
Similar SO Question
PayPal Code Sample
Other good sample C#

Resources