Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not updated with the newest service reference? #1

Open
commentatorboy opened this issue Feb 11, 2017 · 0 comments
Open

Not updated with the newest service reference? #1

commentatorboy opened this issue Feb 11, 2017 · 0 comments

Comments

@commentatorboy
Copy link

commentatorboy commented Feb 11, 2017

Hey, wanted to ask if this git example is still usable?
I am currently stuggling with step 3 of http://tech.epay.dk/da/recurring
I tried to add the service reference from https://ssl.ditonlinebetalingssystem.dk/remote/subscription.asmx
but the end points/functions are not as described as here: http://tech.epay.dk/da/recurring.

When ever I try to call authorize, the reference tells me that I have to send all of the parameters.

I can not really see in the code how you do it:

The way I do is:
authorizeRequestBody authBody = new authorizeRequestBody();

authBody.merchantnumber = 8022565;
authBody.subscriptionid = 123;
authBody.orderid = "123";
authBody.amount = 123;
authBody.currency = 208; //= DKK
authBody.instantcapture = 0;

SubscriptionSoapClient soap = newSubscriptionSoapClient("SubscriptionSoap");

bool authored = soap.authorize(authBody.merchantnumber, authBody.subscriptionid, authBody.orderid, authBody.amount, authBody.currency, authBody.instantcapture, authBody.group, authBody.description, authBody.email, authBody.sms, authBody.ipaddress, authBody.pwd, authBody.textonstatement, authBody.customerkey, ref authBody.fraud, ref authBody.transactionid, ref authBody.pbsresponse, ref authBody.epayresponse);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant