Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Discuss > WebGUI Dev

C2: Handling recurring payments

User martink
Date 4/2/2008 8:05 am
Views 239
Rating 0    Rate [
|
]
Previous · Next
User Message
martink
Hi commerce2 developers,

The port of the ITransact plugin to the new system is coming along
nicely but of course leads to some questions regarding recurring payments.

ITransact (and other payment gateways as well, I imagine) does not allow
you to combine recurring and normal payments in one transaction. Moreso,
it is not possible to combine multiple recurring payments in one
transaction (well, you can if the recur period of each payment is the
same but you don't want to anyway as I'll explain later on).

When I made commerce1, I solved this problem by splitting the cart
contents into a recurring and non-recurring part. The non-recurring
items would be combined in one transaction, and each recurring item
would get a transaction of its own.

How is this supposed to work in C2?

Then there is another issue regarding the recur period. What I found
when making commerce1 was that all payment gateways just use their own
way to set recur periods. Some just allow you to set an interval per
transaction, but others (like ITransact) require you to use preset
intervals. In case of ITransact you assign a recur recipe to a
transaction. Such a recipe is a user defined description of when
payments should be made. This can either be every N days, every N weeks
on weekday X, or every N months on day Y. To provide a uniform way to
handle recur periods in C1 I defined a fixed set of intervals that could
be used for recur periods. These are: Weekly, BiWeekly, FourWeekly,
Monthly, Quarterly, HalfYearly and Yearly.

What are the plans of handling recur periods in C2?

Martin


Back to Top
Rate [
|
]
 
 
JT
I thought the way you handled recurring payments in c1 was great. I don't see a reason to change that unless you have suggestions. 

JT
On Apr 2, 2008, at 8:05 AM, <martin@oqapi.nl> wrote:

martink wrote:

Hi commerce2 developers,

The port of the ITransact plugin to the new system is coming along
nicely but of course leads to some questions regarding recurring payments.

ITransact (and other payment gateways as well, I imagine) does not allow
you to combine recurring and normal payments in one transaction. Moreso,
it is not possible to combine multiple recurring payments in one
transaction (well, you can if the recur period of each payment is the
same but you don't want to anyway as I'll explain later on).

When I made commerce1, I solved this problem by splitting the cart
contents into a recurring and non-recurring part. The non-recurring
items would be combined in one transaction, and each recurring item
would get a transaction of its own.

How is this supposed to work in C2?

Then there is another issue regarding the recur period. What I found
when making commerce1 was that all payment gateways just use their own
way to set recur periods. Some just allow you to set an interval per
transaction, but others (like ITransact) require you to use preset
intervals. In case of ITransact you assign a recur recipe to a
transaction. Such a recipe is a user defined description of when
payments should be made. This can either be every N days, every N weeks
on weekday X, or every N months on day Y. To provide a uniform way to
handle recur periods in C1 I defined a fixed set of intervals that could
be used for recur periods. These are: Weekly, BiWeekly, FourWeekly,
Monthly, Quarterly, HalfYearly and Yearly.

What are the plans of handling recur periods in C2?

Martin


http://www.plainblack.com/webgui/dev/discuss/c2-handling-recurring-payments


--

Plain Black&#44; makers of WebGUI
http://plainblack.com


Back to Top
Rate [
|
]
 
 
     Discuss > WebGUI Dev




Re: Bilingualism by Klaus - Fri @ 07:34am

Re: Bilingualism by bepo - Fri @ 06:00am

Smoketest For nightly_2008-05-16 by Visitor - Fri @ 12:52am

C2: JSON collateral rewrite by colink - Fri @ 12:00am

Smoke Test for SVN (2008-05-16) by botaction - Thu @ 11:48pm

Recommendation for web chat system? by bernd - Thu @ 02:27pm

Re: InnoDB in WRE by BNC - Thu @ 09:56am

Re: Bilingualism by fathertorque - Thu @ 05:58am

Smoketest For nightly_2008-05-15 by Visitor - Thu @ 12:51am

Smoke Test for SVN (2008-05-15) by botaction - Wed @ 11:48pm

Re: The debian openssl/openssh bug by patspam - Wed @ 08:50pm

The debian openssl/openssh bug by patspam - Wed @ 07:00pm

Re: Bilingualism by Klaus - Wed @ 01:29pm

Re: InnoDB in WRE by dionak - Wed @ 01:00pm