- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I work with c# sdk, and follow the sample code,
var request = new AuthorizationRequest(payInfo.CardNumber, payInfo.ExpirationMonthAndYear, payInfo.Amount, "xxx");
var gate = new Gateway(paymentSettings.ApiLogin, paymentSettings.ApiKey, false);
IGatewayResponse response = gate.Send(request);
what if I cannot write the database, even my application is gone after payment success, how do I do in Authorize.net?
Solved! Go to Solution.
โ10-22-2013 10:01 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If is crash before you can save the transactionID, you can either
1)Login to the merchant account and check the unsettled/settled transaction by the date.
2)or do the same with the Transaction Detail API, http://developer.authorize.net/api/transaction_details/ where you can search by the date.
There are invoice#, description, PO number, etc you can use for identity fields,all the API documentation have a list of fields that is save on authorize.net
Although it can't be use in a seach on authorize.net
โ10-24-2013 04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you explain what you mean by your application is gone after payment success? where did is gone to?
Any transaction that not response code 3 would be saved, just login to the merchant account to see all your settled/unsettled transactions.
โ10-23-2013 04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for you replay.
My code like this:
// step1: pay via authorize.net
var request = new AuthorizationRequest(payInfo.CardNumber, payInfo.ExpirationMonthAndYear, payInfo.Amount, "xxx");
var gate = new Gateway(paymentSettings.ApiLogin, paymentSettings.ApiKey, false);
IGatewayResponse response = gate.Send(request);
// step 2: update order into database
order.Status = OrderStatus.AlreadyPay;
order.Save();
I mean if the step 1 is finished, but the step 2 has not running, then my server is power / or power cut, is there solution to fix it in authorize.net ?
โ10-23-2013 06:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RaynorC1emen7.
I think I know a have TransactionID in the response, and I think I can query the transaction state via TransactionID,
but what if my application is crash before i got these transactionId? is there identity field I can put into request before I send request?
Thank you.
โ10-23-2013 06:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If is crash before you can save the transactionID, you can either
1)Login to the merchant account and check the unsettled/settled transaction by the date.
2)or do the same with the Transaction Detail API, http://developer.authorize.net/api/transaction_details/ where you can search by the date.
There are invoice#, description, PO number, etc you can use for identity fields,all the API documentation have a list of fields that is save on authorize.net
Although it can't be use in a seach on authorize.net
โ10-24-2013 04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for your reply, that's what I want, thank you.
โ10-24-2013 08:27 PM