Re: [Rails] Re: user stores - how to setup in theory

2014-12-13 Thread Ahsan Naqvi

Hi Tom,

If I am understanding you correctly you are trying to build an ecommerce 
service. The software architecture will be different than the single 
store. In broad strokes you will need


A Store Model with attributes: Name, Username, Password Hash, Payment 
Processor, any other relevant information about store. Store will also 
have many  products, carts and orders


Update Product Model so that it belongs to Store by adding store_id 
attribute


Update Cart Model to belong to Store

Update Order Model to belong to Store

Add corresponding controllers and views for signing up and creating new 
stores.


Add admin controllers and admin views to allow store owners to CRUD 
products, orders etc.


Add mailers and other functionality helpful for store owners.

It will be an involved process, and you will discover and learn quite alot.

Another option would be to take the system you currently have and run 
its multiple instances for each store owner. You can add their payment 
processor and other unique information manually or write a script which 
will automate the process.


Good luck,
Ahsan

On 12/10/2014 4:57 PM, tom wrote:

anyone?

thx


On Fri, Dec 5, 2014 at 1:49 PM, tom > wrote:


hi,

i have an rails app and users can pay to 'my' paypal account via
active merchant.

now i want to expand and allow users to have their own store , but
im not sure how to deal with the users - store payments, aka a
users buys from another users 'store', how would i set this up?

any ideas welcome...


thx


--
You received this message because you are subscribed to the Google 
Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to rubyonrails-talk+unsubscr...@googlegroups.com 
.
To post to this group, send email to rubyonrails-talk@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/548B862C.8050207%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: user stores - how to setup in theory

2014-12-12 Thread tom
hi

nothing would prevent me from storing their keys, assuming they woudl give
it. i was just wondering if i really need their keys or if their
'paypal-email address' would be enough to redirect the buyer to the right
paypal store...or a specific url - again not sure.

thx all


On Thu, Dec 11, 2014 at 10:01 AM, Hassan Schroeder <
hassan.schroe...@gmail.com> wrote:

> On Wed, Dec 10, 2014 at 7:07 PM, tom  wrote:
>
> > i have my paypal-keys
>
> OK. You've implemented a payment process using those.
>
> What "in theory" is preventing you using that same process with the
> "paypal-keys" of other people?
>
> --
> Hassan Schroeder  hassan.schroe...@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAec%2BU8KD-UggKuKqybPsUwcrKmV2goe%2B7os5AZH%2BG_Mg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMcO26RQnZLwhOHh9D7o9Qf854N6_e2NPZwbP%2BTxc6bpVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: user stores - how to setup in theory

2014-12-11 Thread Matt Jones


On Wednesday, 10 December 2014 21:08:47 UTC-6, der_tom wrote:
>
> well, i do have store_id's and so on for my users, respectively the 
> product_ids and so forth. what im not sure about is how to do the payments. 
> i have my paypal-keys so users can check out on my store, but how would i 
> offer that for the user-to-user scenario? would i just redirect them to 
> their paypal or whatever payment gateway url? not sure...
>
>
Some processors offer a solution that to let you attach to other user's 
payment accounts securely - Stripe Connect is one such 
service: https://stripe.com/connect

Paypal may have something similar.

--Matt Jones
 

> On Wed, Dec 10, 2014 at 6:30 PM, Norm Scherer  > wrote:
>
>>  Sounds like an opportunity to blaze a trail!
>>
>> Norm
>>
>>
>> On 12/10/2014 02:57 PM, tom wrote:
>>  
>> anyone?  
>>
>>  thx
>>
>>  
>> On Fri, Dec 5, 2014 at 1:49 PM, tom > 
>> wrote:
>>
>>> hi, 
>>>
>>>  i have an rails app and users can pay to 'my' paypal account via 
>>> active merchant.
>>>
>>>  now i want to expand and allow users to have their own store , but im 
>>> not sure how to deal with the users - store payments, aka a users buys from 
>>> another users 'store', how would i set this up?
>>>
>>>  any ideas welcome...
>>>
>>>  
>>>  thx
>>>
>>>   
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to rubyonrails-ta...@googlegroups.com .
>> To post to this group, send email to rubyonra...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to rubyonrails-ta...@googlegroups.com .
>> To post to this group, send email to rubyonra...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rubyonrails-talk/5488D7B3.2070101%40earthlink.net
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e166316b-34f3-4a18-bf30-b6e3f9f0308b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: user stores - how to setup in theory

2014-12-11 Thread Hassan Schroeder
On Wed, Dec 10, 2014 at 7:07 PM, tom  wrote:

> i have my paypal-keys

OK. You've implemented a payment process using those.

What "in theory" is preventing you using that same process with the
"paypal-keys" of other people?

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAec%2BU8KD-UggKuKqybPsUwcrKmV2goe%2B7os5AZH%2BG_Mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: user stores - how to setup in theory

2014-12-11 Thread Colin Law
On 11 December 2014 at 03:07, tom  wrote:
> well, i do have store_id's and so on for my users, respectively the
> product_ids and so forth. what im not sure about is how to do the payments.
> i have my paypal-keys so users can check out on my store, but how would i
> offer that for the user-to-user scenario? would i just redirect them to
> their paypal or whatever payment gateway url? not sure...

You might find someone here who knows, but really this is not a rails
issue, it is a paypal issue, you might have more success asking
somewhere more relevant (don't know where though, sorry).

Colin

>
> On Wed, Dec 10, 2014 at 6:30 PM, Norm Scherer 
> wrote:
>>
>> Sounds like an opportunity to blaze a trail!
>>
>> Norm
>>
>>
>> On 12/10/2014 02:57 PM, tom wrote:
>>
>> anyone?
>>
>> thx
>>
>>
>> On Fri, Dec 5, 2014 at 1:49 PM, tom  wrote:
>>>
>>> hi,
>>>
>>> i have an rails app and users can pay to 'my' paypal account via active
>>> merchant.
>>>
>>> now i want to expand and allow users to have their own store , but im not
>>> sure how to deal with the users - store payments, aka a users buys from
>>> another users 'store', how would i set this up?
>>>
>>> any ideas welcome...
>>>
>>>
>>> thx
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-talk+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-talk+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/5488D7B3.2070101%40earthlink.net.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMcibK1ORmwzQ%3DMkUK%2BQgFuXWQb%3D51q96X9ENXTTLPhEEg%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvL5g3J1cMsJ0z9gj5SY26-FN%3Dw%2BL063xTTNmrmXc9L_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: user stores - how to setup in theory

2014-12-10 Thread tom
well, i do have store_id's and so on for my users, respectively the
product_ids and so forth. what im not sure about is how to do the payments.
i have my paypal-keys so users can check out on my store, but how would i
offer that for the user-to-user scenario? would i just redirect them to
their paypal or whatever payment gateway url? not sure...

On Wed, Dec 10, 2014 at 6:30 PM, Norm Scherer 
wrote:

>  Sounds like an opportunity to blaze a trail!
>
> Norm
>
>
> On 12/10/2014 02:57 PM, tom wrote:
>
> anyone?
>
>  thx
>
>
> On Fri, Dec 5, 2014 at 1:49 PM, tom  wrote:
>
>> hi,
>>
>>  i have an rails app and users can pay to 'my' paypal account via active
>> merchant.
>>
>>  now i want to expand and allow users to have their own store , but im
>> not sure how to deal with the users - store payments, aka a users buys from
>> another users 'store', how would i set this up?
>>
>>  any ideas welcome...
>>
>>
>>  thx
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/5488D7B3.2070101%40earthlink.net
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMcibK1ORmwzQ%3DMkUK%2BQgFuXWQb%3D51q96X9ENXTTLPhEEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Rails] Re: user stores - how to setup in theory

2014-12-10 Thread Norm Scherer

Sounds like an opportunity to blaze a trail!

Norm

On 12/10/2014 02:57 PM, tom wrote:

anyone?

thx


On Fri, Dec 5, 2014 at 1:49 PM, tom > wrote:


hi,

i have an rails app and users can pay to 'my' paypal account via
active merchant.

now i want to expand and allow users to have their own store , but
im not sure how to deal with the users - store payments, aka a
users buys from another users 'store', how would i set this up?

any ideas welcome...


thx


--
You received this message because you are subscribed to the Google 
Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to rubyonrails-talk+unsubscr...@googlegroups.com 
.
To post to this group, send email to rubyonrails-talk@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5488D7B3.2070101%40earthlink.net.
For more options, visit https://groups.google.com/d/optout.


[Rails] Re: user stores - how to setup in theory

2014-12-10 Thread tom
anyone?

thx


On Fri, Dec 5, 2014 at 1:49 PM, tom  wrote:

> hi,
>
> i have an rails app and users can pay to 'my' paypal account via active
> merchant.
>
> now i want to expand and allow users to have their own store , but im not
> sure how to deal with the users - store payments, aka a users buys from
> another users 'store', how would i set this up?
>
> any ideas welcome...
>
>
> thx
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdmGnG-QmnDEvbYXVjaKGNHLJmjyD3TmanfmrQC4K89yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.