Click here to Skip to main content
15,888,009 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
C#
var tokenRequest = function () {
            // Setup token request arguments
            var args = {
                sellerId: "mysellerId from 2checkout",
                publishableKey: "mypublishablekey",
                ccNo: $("#ccNo").val(),
                cvv: $("#cvv").val(),
                expMonth: $("#expMonth").val(),
                expYear: $("#expYear").val()
            };

var errorCallback = function (data) {
            if (data.errorCode === 200) {
                tokenRequest();
            } else {
                alert(data.errorMsg);
            }
        };


What I have tried:

I tried to get token from 2checkout. And I got it, but I don't know what to do after.
Posted
Updated 27-Apr-16 3:36am
v3
Comments
Sergey Alexandrovich Kryukov 27-Apr-16 9:27am    
Card?...
—SA
Suvendu Shekhar Giri 27-Apr-16 9:33am    
Card!!!
Credit card/Debit card/RFID card?
.. and "integrate" meaning?

1 solution

You'll need to refer to the documentation for 2checkout. They should have samples and explanations of how to use their service.
 
Share this answer
 
Comments
Ben J. Boyle 27-Apr-16 16:36pm    
Indeed they do: https://www.2checkout.com/documentation
Including .NET samples and libraries: https://github.com/2Checkout/2checkout-dotnet

Try to run through those docs, OP, and come back with more specific questions.
Black__Rose 28-Apr-16 8:00am    
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900