SagePay Integrated

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

SagePay Integrated

Abdullah Shaikh-3
I have integrated SagePay payment gateway into ofbiz accounting component,
which I would like to contribute.

For this I have used Apache httpcomponents-client-4.0, is it ok ?

I have choose to use httpcomponent because it is easy to send parameters &
fetch response from the gateway, compared to using Socket class, and
manually forming string and parsing the response string.

If its ok then we can add the httpcomponents to the framework/base/lib
folder, currently I have added the jar in accounting/lib.

Regards,
Abdullah
http://www.viithiisys.com
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Jacques Le Roux
Administrator
But isn't the SagePay payment gateway licence commercial ?

Jacques

From: "Abdullah Shaikh" <[hidden email]>

>I have integrated SagePay payment gateway into ofbiz accounting component,
> which I would like to contribute.
>
> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>
> I have choose to use httpcomponent because it is easy to send parameters &
> fetch response from the gateway, compared to using Socket class, and
> manually forming string and parsing the response string.
>
> If its ok then we can add the httpcomponents to the framework/base/lib
> folder, currently I have added the jar in accounting/lib.
>
> Regards,
> Abdullah
> http://www.viithiisys.com
>

Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

rajsaini
Hi Jacques,

I do not see any of SagePay code or libs are involved. As Abdul said
only external dependency is Apache http client library which is Apache
licensed. This implementation is similar to Authorize.net.

Thanks,

Raj

Jacques Le Roux wrote:

> But isn't the SagePay payment gateway licence commercial ?
>
> Jacques
>
> From: "Abdullah Shaikh" <[hidden email]>
>> I have integrated SagePay payment gateway into ofbiz accounting
>> component,
>> which I would like to contribute.
>>
>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>
>> I have choose to use httpcomponent because it is easy to send
>> parameters &
>> fetch response from the gateway, compared to using Socket class, and
>> manually forming string and parsing the response string.
>>
>> If its ok then we can add the httpcomponents to the framework/base/lib
>> folder, currently I have added the jar in accounting/lib.
>>
>> Regards,
>> Abdullah
>> http://www.viithiisys.com
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Abdullah Shaikh-3
In reply to this post by Jacques Le Roux
Hi Jacques,

I didn't get you .... If you meant any sagepay code is involved, then its
not, I have implemented it same as any other payment gateways are integrated
in ofbiz, for example authorize.net.

On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
[hidden email]> wrote:

> But isn't the SagePay payment gateway licence commercial ?
>
> Jacques
>
> From: "Abdullah Shaikh" <[hidden email]>
>
>  I have integrated SagePay payment gateway into ofbiz accounting component,
>> which I would like to contribute.
>>
>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>
>> I have choose to use httpcomponent because it is easy to send parameters &
>> fetch response from the gateway, compared to using Socket class, and
>> manually forming string and parsing the response string.
>>
>> If its ok then we can add the httpcomponents to the framework/base/lib
>> folder, currently I have added the jar in accounting/lib.
>>
>> Regards,
>> Abdullah
>> http://www.viithiisys.com
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Jacques Le Roux
Administrator
OK, it was not clear to me, thanks
If it's done the same way other gateways are implement I can't see any issue using httpcomponents-client-4.0, and yes it should be
located framework/base/lib.
I suggest to open a Jira

Jacques

From: "Abdullah Shaikh" <[hidden email]>

> Hi Jacques,
>
> I didn't get you .... If you meant any sagepay code is involved, then its
> not, I have implemented it same as any other payment gateways are integrated
> in ofbiz, for example authorize.net.
>
> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> But isn't the SagePay payment gateway licence commercial ?
>>
>> Jacques
>>
>> From: "Abdullah Shaikh" <[hidden email]>
>>
>>  I have integrated SagePay payment gateway into ofbiz accounting component,
>>> which I would like to contribute.
>>>
>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>
>>> I have choose to use httpcomponent because it is easy to send parameters &
>>> fetch response from the gateway, compared to using Socket class, and
>>> manually forming string and parsing the response string.
>>>
>>> If its ok then we can add the httpcomponents to the framework/base/lib
>>> folder, currently I have added the jar in accounting/lib.
>>>
>>> Regards,
>>> Abdullah
>>> http://www.viithiisys.com
>>>
>>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Tim Ruppert
Looking forward to seeing the new integrations!

Cheers,
Ruppert
f:801.649.6595

On Nov 3, 2009, at 11:03 AM, Jacques Le Roux wrote:

> OK, it was not clear to me, thanks
> If it's done the same way other gateways are implement I can't see  
> any issue using httpcomponents-client-4.0, and yes it should be  
> located framework/base/lib.
> I suggest to open a Jira
>
> Jacques
>
> From: "Abdullah Shaikh" <[hidden email]>
>> Hi Jacques,
>>
>> I didn't get you .... If you meant any sagepay code is involved,  
>> then its
>> not, I have implemented it same as any other payment gateways are  
>> integrated
>> in ofbiz, for example authorize.net.
>>
>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>> [hidden email]> wrote:
>>
>>> But isn't the SagePay payment gateway licence commercial ?
>>>
>>> Jacques
>>>
>>> From: "Abdullah Shaikh" <[hidden email]>
>>>
>>> I have integrated SagePay payment gateway into ofbiz accounting  
>>> component,
>>>> which I would like to contribute.
>>>>
>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>
>>>> I have choose to use httpcomponent because it is easy to send  
>>>> parameters &
>>>> fetch response from the gateway, compared to using Socket class,  
>>>> and
>>>> manually forming string and parsing the response string.
>>>>
>>>> If its ok then we can add the httpcomponents to the framework/
>>>> base/lib
>>>> folder, currently I have added the jar in accounting/lib.
>>>>
>>>> Regards,
>>>> Abdullah
>>>> http://www.viithiisys.com
>>>>
>>>>
>>>
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Abdullah Shaikh-3
Sorry guys .. I just wanted to do some clean up of code before submitting,
but before I could do that I got a task for a some demo project which took
me 4 days to complete :)

I will work on this weekend on clean up ....

On Wed, Nov 4, 2009 at 6:55 AM, Tim Ruppert <[hidden email]>wrote:

> Looking forward to seeing the new integrations!
>
> Cheers,
> Ruppert
> f:801.649.6595
>
>
> On Nov 3, 2009, at 11:03 AM, Jacques Le Roux wrote:
>
>  OK, it was not clear to me, thanks
>> If it's done the same way other gateways are implement I can't see any
>> issue using httpcomponents-client-4.0, and yes it should be located
>> framework/base/lib.
>> I suggest to open a Jira
>>
>> Jacques
>>
>> From: "Abdullah Shaikh" <[hidden email]>
>>
>>> Hi Jacques,
>>>
>>> I didn't get you .... If you meant any sagepay code is involved, then its
>>> not, I have implemented it same as any other payment gateways are
>>> integrated
>>> in ofbiz, for example authorize.net.
>>>
>>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>>> [hidden email]> wrote:
>>>
>>>  But isn't the SagePay payment gateway licence commercial ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Abdullah Shaikh" <[hidden email]>
>>>>
>>>> I have integrated SagePay payment gateway into ofbiz accounting
>>>> component,
>>>>
>>>>> which I would like to contribute.
>>>>>
>>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>>
>>>>> I have choose to use httpcomponent because it is easy to send
>>>>> parameters &
>>>>> fetch response from the gateway, compared to using Socket class, and
>>>>> manually forming string and parsing the response string.
>>>>>
>>>>> If its ok then we can add the httpcomponents to the framework/base/lib
>>>>> folder, currently I have added the jar in accounting/lib.
>>>>>
>>>>> Regards,
>>>>> Abdullah
>>>>> http://www.viithiisys.com
>>>>>
>>>>>
>>>>>
>>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Abdullah Shaikh-3
SagePay payment gateway integrated -
https://issues.apache.org/jira/browse/OFBIZ-3180

- Abdullah
http://www.viithiisys.com

On Fri, Nov 6, 2009 at 7:59 PM, Abdullah Shaikh <
[hidden email]> wrote:

> Sorry guys .. I just wanted to do some clean up of code before submitting,
> but before I could do that I got a task for a some demo project which took
> me 4 days to complete :)
>
> I will work on this weekend on clean up ....
>
>
> On Wed, Nov 4, 2009 at 6:55 AM, Tim Ruppert <[hidden email]>wrote:
>
>> Looking forward to seeing the new integrations!
>>
>> Cheers,
>> Ruppert
>> f:801.649.6595
>>
>>
>> On Nov 3, 2009, at 11:03 AM, Jacques Le Roux wrote:
>>
>>  OK, it was not clear to me, thanks
>>> If it's done the same way other gateways are implement I can't see any
>>> issue using httpcomponents-client-4.0, and yes it should be located
>>> framework/base/lib.
>>> I suggest to open a Jira
>>>
>>> Jacques
>>>
>>> From: "Abdullah Shaikh" <[hidden email]>
>>>
>>>> Hi Jacques,
>>>>
>>>> I didn't get you .... If you meant any sagepay code is involved, then
>>>> its
>>>> not, I have implemented it same as any other payment gateways are
>>>> integrated
>>>> in ofbiz, for example authorize.net.
>>>>
>>>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>>>> [hidden email]> wrote:
>>>>
>>>>  But isn't the SagePay payment gateway licence commercial ?
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Abdullah Shaikh" <[hidden email]>
>>>>>
>>>>> I have integrated SagePay payment gateway into ofbiz accounting
>>>>> component,
>>>>>
>>>>>> which I would like to contribute.
>>>>>>
>>>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>>>
>>>>>> I have choose to use httpcomponent because it is easy to send
>>>>>> parameters &
>>>>>> fetch response from the gateway, compared to using Socket class, and
>>>>>> manually forming string and parsing the response string.
>>>>>>
>>>>>> If its ok then we can add the httpcomponents to the framework/base/lib
>>>>>> folder, currently I have added the jar in accounting/lib.
>>>>>>
>>>>>> Regards,
>>>>>> Abdullah
>>>>>> http://www.viithiisys.com
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Abdullah Shaikh-3
Yesterday after submiting the patch it was quite late here so couldn't write
on the integration.

Here is the link http://viithiisys.com/web/abdullah/blog.html explaining the
integration and configuration for anybody planning to use Sagepay.

-Abdullah

On Mon, Nov 9, 2009 at 10:07 PM, Abdullah Shaikh <
[hidden email]> wrote:

> SagePay payment gateway integrated -
> https://issues.apache.org/jira/browse/OFBIZ-3180
>
> - Abdullah
> http://www.viithiisys.com
>
>
> On Fri, Nov 6, 2009 at 7:59 PM, Abdullah Shaikh <
> [hidden email]> wrote:
>
>> Sorry guys .. I just wanted to do some clean up of code before submitting,
>> but before I could do that I got a task for a some demo project which took
>> me 4 days to complete :)
>>
>> I will work on this weekend on clean up ....
>>
>>
>> On Wed, Nov 4, 2009 at 6:55 AM, Tim Ruppert <[hidden email]>wrote:
>>
>>> Looking forward to seeing the new integrations!
>>>
>>> Cheers,
>>> Ruppert
>>> f:801.649.6595
>>>
>>>
>>> On Nov 3, 2009, at 11:03 AM, Jacques Le Roux wrote:
>>>
>>>  OK, it was not clear to me, thanks
>>>> If it's done the same way other gateways are implement I can't see any
>>>> issue using httpcomponents-client-4.0, and yes it should be located
>>>> framework/base/lib.
>>>> I suggest to open a Jira
>>>>
>>>> Jacques
>>>>
>>>> From: "Abdullah Shaikh" <[hidden email]>
>>>>
>>>>> Hi Jacques,
>>>>>
>>>>> I didn't get you .... If you meant any sagepay code is involved, then
>>>>> its
>>>>> not, I have implemented it same as any other payment gateways are
>>>>> integrated
>>>>> in ofbiz, for example authorize.net.
>>>>>
>>>>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>>>>> [hidden email]> wrote:
>>>>>
>>>>>  But isn't the SagePay payment gateway licence commercial ?
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Abdullah Shaikh" <[hidden email]>
>>>>>>
>>>>>> I have integrated SagePay payment gateway into ofbiz accounting
>>>>>> component,
>>>>>>
>>>>>>> which I would like to contribute.
>>>>>>>
>>>>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>>>>
>>>>>>> I have choose to use httpcomponent because it is easy to send
>>>>>>> parameters &
>>>>>>> fetch response from the gateway, compared to using Socket class, and
>>>>>>> manually forming string and parsing the response string.
>>>>>>>
>>>>>>> If its ok then we can add the httpcomponents to the
>>>>>>> framework/base/lib
>>>>>>> folder, currently I have added the jar in accounting/lib.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Abdullah
>>>>>>> http://www.viithiisys.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>
>>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Abdullah Shaikh-3
In reply to this post by Jacques Le Roux
Opening a jira issue for adding http jars into framework/base/lib folder, I
guess we should have a "http" folder inside lib.

There are already beta versions available in framework/testools/lib, its
better to remove these jars from testtools and put in base/lib/http
replacing them with release version.

-Abdullah

On Tue, Nov 3, 2009 at 11:33 PM, Jacques Le Roux <
[hidden email]> wrote:

> OK, it was not clear to me, thanks
> If it's done the same way other gateways are implement I can't see any
> issue using httpcomponents-client-4.0, and yes it should be located
> framework/base/lib.
> I suggest to open a Jira
>
>
> Jacques
>
> From: "Abdullah Shaikh" <[hidden email]>
>
>> Hi Jacques,
>>
>> I didn't get you .... If you meant any sagepay code is involved, then its
>> not, I have implemented it same as any other payment gateways are
>> integrated
>> in ofbiz, for example authorize.net.
>>
>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>> [hidden email]> wrote:
>>
>>  But isn't the SagePay payment gateway licence commercial ?
>>>
>>> Jacques
>>>
>>> From: "Abdullah Shaikh" <[hidden email]>
>>>
>>>  I have integrated SagePay payment gateway into ofbiz accounting
>>> component,
>>>
>>>> which I would like to contribute.
>>>>
>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>
>>>> I have choose to use httpcomponent because it is easy to send parameters
>>>> &
>>>> fetch response from the gateway, compared to using Socket class, and
>>>> manually forming string and parsing the response string.
>>>>
>>>> If its ok then we can add the httpcomponents to the framework/base/lib
>>>> folder, currently I have added the jar in accounting/lib.
>>>>
>>>> Regards,
>>>> Abdullah
>>>> http://www.viithiisys.com
>>>>
>>>>
>>>>
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Jacques Le Roux
Administrator
I did it but not in http (only in base/lib) maybe I should (before I update allrelated files...) ? Opinions ?

Jacques

From: "Abdullah Shaikh" <[hidden email]>

> Opening a jira issue for adding http jars into framework/base/lib folder, I
> guess we should have a "http" folder inside lib.
>
> There are already beta versions available in framework/testools/lib, its
> better to remove these jars from testtools and put in base/lib/http
> replacing them with release version.
>
> -Abdullah
>
> On Tue, Nov 3, 2009 at 11:33 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> OK, it was not clear to me, thanks
>> If it's done the same way other gateways are implement I can't see any
>> issue using httpcomponents-client-4.0, and yes it should be located
>> framework/base/lib.
>> I suggest to open a Jira
>>
>>
>> Jacques
>>
>> From: "Abdullah Shaikh" <[hidden email]>
>>
>>> Hi Jacques,
>>>
>>> I didn't get you .... If you meant any sagepay code is involved, then its
>>> not, I have implemented it same as any other payment gateways are
>>> integrated
>>> in ofbiz, for example authorize.net.
>>>
>>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>>> [hidden email]> wrote:
>>>
>>>  But isn't the SagePay payment gateway licence commercial ?
>>>>
>>>> Jacques
>>>>
>>>> From: "Abdullah Shaikh" <[hidden email]>
>>>>
>>>>  I have integrated SagePay payment gateway into ofbiz accounting
>>>> component,
>>>>
>>>>> which I would like to contribute.
>>>>>
>>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>>
>>>>> I have choose to use httpcomponent because it is easy to send parameters
>>>>> &
>>>>> fetch response from the gateway, compared to using Socket class, and
>>>>> manually forming string and parsing the response string.
>>>>>
>>>>> If its ok then we can add the httpcomponents to the framework/base/lib
>>>>> folder, currently I have added the jar in accounting/lib.
>>>>>
>>>>> Regards,
>>>>> Abdullah
>>>>> http://www.viithiisys.com
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: SagePay Integrated

Abdullah Shaikh-3
Thanks Jacques. Yes opinions please ..

On Thu, Nov 19, 2009 at 4:32 PM, Jacques Le Roux <
[hidden email]> wrote:

> I did it but not in http (only in base/lib) maybe I should (before I update
> allrelated files...) ? Opinions ?
>
>
> Jacques
>
> From: "Abdullah Shaikh" <[hidden email]>
>
>> Opening a jira issue for adding http jars into framework/base/lib folder,
>> I
>> guess we should have a "http" folder inside lib.
>>
>> There are already beta versions available in framework/testools/lib, its
>> better to remove these jars from testtools and put in base/lib/http
>> replacing them with release version.
>>
>> -Abdullah
>>
>> On Tue, Nov 3, 2009 at 11:33 PM, Jacques Le Roux <
>> [hidden email]> wrote:
>>
>>  OK, it was not clear to me, thanks
>>> If it's done the same way other gateways are implement I can't see any
>>> issue using httpcomponents-client-4.0, and yes it should be located
>>> framework/base/lib.
>>> I suggest to open a Jira
>>>
>>>
>>> Jacques
>>>
>>> From: "Abdullah Shaikh" <[hidden email]>
>>>
>>>  Hi Jacques,
>>>>
>>>> I didn't get you .... If you meant any sagepay code is involved, then
>>>> its
>>>> not, I have implemented it same as any other payment gateways are
>>>> integrated
>>>> in ofbiz, for example authorize.net.
>>>>
>>>> On Tue, Nov 3, 2009 at 10:50 PM, Jacques Le Roux <
>>>> [hidden email]> wrote:
>>>>
>>>>  But isn't the SagePay payment gateway licence commercial ?
>>>>
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "Abdullah Shaikh" <[hidden email]>
>>>>>
>>>>>  I have integrated SagePay payment gateway into ofbiz accounting
>>>>> component,
>>>>>
>>>>>  which I would like to contribute.
>>>>>>
>>>>>> For this I have used Apache httpcomponents-client-4.0, is it ok ?
>>>>>>
>>>>>> I have choose to use httpcomponent because it is easy to send
>>>>>> parameters
>>>>>> &
>>>>>> fetch response from the gateway, compared to using Socket class, and
>>>>>> manually forming string and parsing the response string.
>>>>>>
>>>>>> If its ok then we can add the httpcomponents to the framework/base/lib
>>>>>> folder, currently I have added the jar in accounting/lib.
>>>>>>
>>>>>> Regards,
>>>>>> Abdullah
>>>>>> http://www.viithiisys.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>
>