Re: REST testing

2015-09-13 Thread Rob Andrew

SOAP UI?

On Sun, Sep 13, 2015 at 4:48 pm, Greg Keogh < gfke...@gmail.com 
[gfke...@gmail.com] > wrote:
Folks, in recent months I've been doing lots of REST call testing. I use 
the
scratchpad of Fiddler to select and send some request lines, then look at 
the
traffic in the inspector panes. The trouble is that my scratchpad is 
getting

longer than a Thomas Pynchon novel, so I was wondering if others here have
favourite techniques or tools for doing this sort of "playaround" REST 
testing,

perhaps with a better way or organising your scripts -- GK

Re: REST testing

2015-09-13 Thread Greg Keogh
>
> SOAP UI?
>
Hmmm yes, very impressive, perhaps too impressive, like a Swiss Army knife
with sledgehammers. I'll give it a bash though next week to see if a subset
of the free version features does what I want. I'll let you know.

And yes Joseph, you know me too well ... Chrome is OUT!

*GK*


PayPal Integration

2015-09-13 Thread 罗格雷格博士
Hi Folks,

Been using eWay for ages and integrating with it was pretty trivial.

Wanting to add PayPal now (to existing MVC app in VS2015). Been reading the 
developer doco and it seems like a convoluted mess. Presumed one of you must 
have been doing this lately.

I need to know the outcome for the next processing stage so it does need one of 
the notification-based options, rather than just HTML forms or something.

There seem to be endless discussions around IPN vs PDT vs Express. I want the 
customers to be able to pay via PayPal or by using a credit card when not 
PayPal members. I presume I can do this via the REST APIs.

Anyone got a “reader’s digest” version of the minimal code that’s required to 
simply add the ability to take a payment?

Regards,

Greg

Dr Greg Low

1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax
SQL Down Under | Web: www.sqldownunder.com



Re: REST testing

2015-09-13 Thread Joseph Cooney
Postman app is quite good. It is a chrome app Greg, I know how much you
love chrome
On Sep 13, 2015 4:48 PM, "Greg Keogh"  wrote:

> Folks, in recent months I've been doing lots of REST call testing. I use
> the scratchpad of Fiddler to select and send some request lines, then look
> at the traffic in the inspector panes. The trouble is that my scratchpad is
> getting longer than a Thomas Pynchon novel, so I was wondering if others
> here have favourite techniques or tools for doing this sort of "playaround"
> REST testing, perhaps with a better way or organising your scripts -- *GK*
>


REST testing

2015-09-13 Thread Greg Keogh
Folks, in recent months I've been doing lots of REST call testing. I use
the scratchpad of Fiddler to select and send some request lines, then look
at the traffic in the inspector panes. The trouble is that my scratchpad is
getting longer than a Thomas Pynchon novel, so I was wondering if others
here have favourite techniques or tools for doing this sort of "playaround"
REST testing, perhaps with a better way or organising your scripts -- *GK*


Re: PayPal Integration

2015-09-13 Thread Stephen Price
I was looking at the options recently but have only gotten to the decision
made step, implementation will come later.
I chose https://stripe.com/au/features

Don't have anything like a readers digest post but their docs look good
with examples for many languages. I enquired about eWay some time ago and
have been getting spammed ever since. Told them I chose someone else and
still get their emails. I should hit the unsubscribe button now that I'm
thinking of it.

On Sun, 13 Sep 2015 at 16:27 Greg Low (罗格雷格博士)  wrote:

> Hi Folks,
>
>
>
> Been using eWay for ages and integrating with it was pretty trivial.
>
>
>
> Wanting to add PayPal now (to existing MVC app in VS2015). Been reading
> the developer doco and it seems like a convoluted mess. Presumed one of you
> must have been doing this lately.
>
>
>
> I need to know the outcome for the next processing stage so it does need
> one of the notification-based options, rather than just HTML forms or
> something.
>
>
>
> There seem to be endless discussions around IPN vs PDT vs Express. I want
> the customers to be able to pay via PayPal or by using a credit card when
> not PayPal members. I presume I can do this via the REST APIs.
>
>
>
> Anyone got a “reader’s digest” version of the minimal code that’s required
> to simply add the ability to take a payment?
>
>
>
> Regards,
>
>
>
> Greg
>
>
>
> Dr Greg Low
>
>
>
> 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913
> fax
>
> SQL Down Under | Web: www.sqldownunder.com
>
>
>


Re: REST testing

2015-09-13 Thread Stephen Price
Obviously, it's a trust issue. I think you should download the source code,
examine all of the code so you know it has no security/privacy issues,
remove anything that concerns you and then you should be able to install
Postman. Source code here: https://www.chromium.org/Home

I believe there is also a project/fork somewhere where they have
essentially done exactly that but the name escapes me.

On Sun, 13 Sep 2015 at 16:04 Greg Keogh  wrote:

> SOAP UI?
>>
> Hmmm yes, very impressive, perhaps too impressive, like a Swiss Army knife
> with sledgehammers. I'll give it a bash though next week to see if a subset
> of the free version features does what I want. I'll let you know.
>
> And yes Joseph, you know me too well ... Chrome is OUT!
>
> *GK*
>


Re: REST testing

2015-09-13 Thread Greg Keogh
>
> Obviously, it's a trust issue.
>

No, Google's informal motto is "Don't be evil" so I would trust them with
my data and my life.

*GK*


Re: REST testing

2015-09-13 Thread Thomas Koster
Greg,

On 13 September 2015 at 16:48, Greg Keogh  wrote:
> Folks, in recent months I've been doing lots of REST call testing. I use the
> scratchpad of Fiddler to select and send some request lines, then look at
> the traffic in the inspector panes. The trouble is that my scratchpad is
> getting longer than a Thomas Pynchon novel, so I was wondering if others
> here have favourite techniques or tools for doing this sort of "playaround"
> REST testing, perhaps with a better way or organising your scripts -- GK

My favourits to "play" with a web service are Curl [1] and
Wireshark [2]. Proper testing deserves code.

Curl is a lingua franca of online REST service API documentation - I
often see example calls given as Curl invocations. Curl is a cross-
platform command-line tool so it composes very well with scripts. These
may also work better with your VCS than the Fiddler scratchpad (I don't
use Fiddler so I wouldn't know). You can also give those Curl commands
to your JavaScript front-end team on Mac and they should know what to do
with them.

[1] http://curl.haxx.se
[2] https://www.wireshark.org

--
Thomas Koster


Re: PayPal Integration

2015-09-13 Thread Craig van Nieuwkerk
I have integrated with Stripe as well and it is great. Very easy,
everything PayPal should be but for some reason isn't.

PayPal just needs to draw a line in the sand with their old API(s),
deprecate them, and build something new and easy like Stripe.

On Mon, Sep 14, 2015 at 12:53 PM, Stephen Price 
wrote:

> I was looking at the options recently but have only gotten to the decision
> made step, implementation will come later.
> I chose https://stripe.com/au/features
>
> Don't have anything like a readers digest post but their docs look good
> with examples for many languages. I enquired about eWay some time ago and
> have been getting spammed ever since. Told them I chose someone else and
> still get their emails. I should hit the unsubscribe button now that I'm
> thinking of it.
>
> On Sun, 13 Sep 2015 at 16:27 Greg Low (罗格雷格博士)  wrote:
>
>> Hi Folks,
>>
>>
>>
>> Been using eWay for ages and integrating with it was pretty trivial.
>>
>>
>>
>> Wanting to add PayPal now (to existing MVC app in VS2015). Been reading
>> the developer doco and it seems like a convoluted mess. Presumed one of you
>> must have been doing this lately.
>>
>>
>>
>> I need to know the outcome for the next processing stage so it does need
>> one of the notification-based options, rather than just HTML forms or
>> something.
>>
>>
>>
>> There seem to be endless discussions around IPN vs PDT vs Express. I want
>> the customers to be able to pay via PayPal or by using a credit card when
>> not PayPal members. I presume I can do this via the REST APIs.
>>
>>
>>
>> Anyone got a “reader’s digest” version of the minimal code that’s
>> required to simply add the ability to take a payment?
>>
>>
>>
>> Regards,
>>
>>
>>
>> Greg
>>
>>
>>
>> Dr Greg Low
>>
>>
>>
>> 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913
>> fax
>>
>> SQL Down Under | Web: www.sqldownunder.com
>>
>>
>>
>


Re: PayPal Integration

2015-09-13 Thread 罗格雷格博士
Yep I like Stripe and eWay was quite simple but bunches of clients want to use 
PayPal plus it seems to do the best multicurrency work.

I presume the increasing preference for PayPal is to only have one set of card 
details online instead of at numerous gateway sites.

Regards

Greg

Dr Greg Low
SQL Down Under
+61 419201410
1300SQLSQL (1300775775)

On 14 Sep 2015, at 2:14 pm, Craig van Nieuwkerk 
> wrote:

I have integrated with Stripe as well and it is great. Very easy, everything 
PayPal should be but for some reason isn't.

PayPal just needs to draw a line in the sand with their old API(s), deprecate 
them, and build something new and easy like Stripe.

On Mon, Sep 14, 2015 at 12:53 PM, Stephen Price 
> wrote:
I was looking at the options recently but have only gotten to the decision made 
step, implementation will come later.
I chose https://stripe.com/au/features

Don't have anything like a readers digest post but their docs look good with 
examples for many languages. I enquired about eWay some time ago and have been 
getting spammed ever since. Told them I chose someone else and still get their 
emails. I should hit the unsubscribe button now that I'm thinking of it.

On Sun, 13 Sep 2015 at 16:27 Greg Low (罗格雷格博士) 
> wrote:
Hi Folks,

Been using eWay for ages and integrating with it was pretty trivial.

Wanting to add PayPal now (to existing MVC app in VS2015). Been reading the 
developer doco and it seems like a convoluted mess. Presumed one of you must 
have been doing this lately.

I need to know the outcome for the next processing stage so it does need one of 
the notification-based options, rather than just HTML forms or something.

There seem to be endless discussions around IPN vs PDT vs Express. I want the 
customers to be able to pay via PayPal or by using a credit card when not 
PayPal members. I presume I can do this via the REST APIs.

Anyone got a “reader’s digest” version of the minimal code that’s required to 
simply add the ability to take a payment?

Regards,

Greg

Dr Greg Low

1300SQLSQL (1300 775 775) office | +61 
419201410 mobile│ +61 3 8676 
4913 fax
SQL Down Under | Web: www.sqldownunder.com