The following code is Authorize.Net Sample Code provided on their website for ARB clients/merchants to use as an example.
If you notice, there is a sample (fake) credit card number, (4111111111111111), on Program.vb at "Private Sub PopulateSubscription(ByVal request As ARBCreateSubscriptionRequest). NOTE: there are four "Sub PopulateSubscription" on Program.vb. I am refering to the "ARBCreateSubscriptionRequest".
My objective - Pass a variable in a TextBox on Default.aspx to replace the credit card number (4111111111111111) in Sub-PopulateSubscription.
I assume this can be done, but I am not experienced enough to make it work properly.
Let me be clear....I don't expect anyone to show me how to code a program to communicate with Authorize.Net, because from reading other posts, many people don't want to offer any help regarding Authorize.Net because they haven't worked with it before. What I am asking, is for someone to show me how to Pass a variable from a Form to a Class, in a way that will work given the Sample code I have provided.
I hope someone can help. Should be just a walk in the park for some of you.
------------------THIS IS Program.vb-------------------------
'D I S C L A I M E
View Complete Post