From: Ellen <ellen.hu...@gmail.com>
Date: Fri, 17 Sep 2010 09:53:35 -0700 (PDT)
Local: Fri, Sep 17 2010 12:53 pm
Subject: Re: How to send Token Request?
Marcelo,
Please ignore my question, it has been completed.
Thank you for your help.
Jing
On Sep 17, 9:32 am, Ellen <ellen.hu...@gmail.com> wrote:
> Marcelo,
> Oops I need pay attention.
> Now my request looks ok, but I received an error says "You do not have
> I saw the token lifetime by default is set to 10 hours. So first I get
> here is the calling url---https://api-test.globalgiving.org/api/secure/givingservice/donations?...
> Am I doing something wrong?
> Thank you,
> ellen
> On Sep 16, 6:34 pm, "marcelo.barth" <marcelo.ba...@gmail.com> wrote:
> > Hi Ellen,
> > When copying and pasting our example XML, it looks like you deleted
> > The donation element is not properly formatted, therefore, our parser
> > donation> should be <donation>
> > The refcode element is there to allow you to track the request through
> > When you receive a response the refcode returned should match the one
> > The value to provide for refcode, is any unique identifier you want to
> > Marcelo
> > On Sep 16, 3:55 pm, Ellen <ellen.hu...@gmail.com> wrote:
> > > Marcelo,
> > > Now I get token!
> > > Well, I had same "bad request" when I try my test donation.
> > > Here is the donation string which I copied from your site:
> > > transactionId><email>john....@hotmail.com</email><amount>25</
> > > Path ishttps://api-test.globalgiving.org/api/secure/givingservice/donation&a...
> > > One thing I am not sure is the refcode, in your site says" your
> > > Thank you,
> > > On Sep 16, 3:13 pm, "marcelo.barth" <marcelo.ba...@gmail.com> wrote:
> > > > Hi Ellen,
> > > > I just improved the error message to highlight the error that is
> > > > 1) the xml declaration has an extra space in it at the end after the
> > > > 2) there's an extra space after the closing '/' in the auth_request
> > > > Now the error messages will look like the following, highlighting the
> > > > 1)
> > > > <?xml version='1.0' encoding='UTF-8'?>
> > > > </error>
> > > > and
> > > > 2)
> > > > <?xml version='1.0' encoding='UTF-8'?>
> > > > Hope that helps in your development.
> > > > Thanks,
> > > > On Sep 16, 12:34 pm, Ellen <ellen.hu...@gmail.com> wrote:
> > > > > Marcelo,
> > > > > The code will stop at rsp = req.GetResponse();, and I am getting the
> > > > > have you counter this kind of issue before?
> > > > > what I could think is 1)request didn't well formed? 2) request didn't
> > > > > Sorry to bother you again,
> > > > > ellen
> > > > > On Sep 16, 12:05 pm, "marcelo.barth" <marcelo.ba...@gmail.com> wrote:
> > > > > > Hi Ellen,
> > > > > > The accounts on our test server (api-test) were not fully replicated
> > > > > > I ran a test using the credentials you provided and retrieved a token
> > > > > > Let us know if you experience anymore issues.
> > > > > > Thanks,
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||