close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Subscriptions

Thread began 7/06/2010 2:12 pm by i.edwards384429 | Last modified 7/07/2010 3:08 pm by Eric Mittman | 681 views | 1 replies |

i.edwards384429

Subscriptions

Hi

at the last stages of a project which has been to say the least a bit of a learning curve.

What I have is a list of models in a database and a list of Photographers in the same database.

The photographers search via various criteria and are shown images from the models portfolio.

With only one problem left on that side ( awating a response from techies) I can now progress onto the next stage,

Simply there are two groups who need to pay an annual charge for use of the site. so only two products to sell

My untutored PHp/mysql thought was to allow access to the site by use of a logical field ie yes for subscribed and no for not.

Thought (dangerous I know) that I could arrange a payment using powerstore/ecart ( only have ecart4) so that when the payment is confirmed the database would be updated to reflect the payment. I was thinking of controling the subscription time by using a count option ie <365.

Ok thats my logic, is there an easier way or can I not do this is the way I think?

Not sure whether to struggle on or pay someone to do this last bit.

Any advise very welcome

thanks

Ian

Sign in to reply to this post

Eric Mittman

I wanted to respond to your post to let you know that eCart does not support subscription or recurring payments so that would have to be worked out as a custom part of the checkout. If you are trying to manually determine when to charge again I think it would be best to work with timestamps and make use of the mktime and date functions to allow you to manipulate values for comparing the dates. One thing you could do would be to add a year to the current time then when you are checking it you would just compare to the current time, if the date is equal to or less than the current time then it has passed already.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...