1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Subscriptions revisited . .

Discussion in 'Templates, HTML, CSS, and Design Help' started by michael, Dec 20, 2011.

  1. michael Just get on with it!

    I tried posting this in the Feature Requests forum but the 68C Uservoice account no longer exists so feel free to move this if necessary.

    I'm fully aware that subscription payments are NOT a feature of 68C v4+, that being said, can it really not be accomplished without a lot of core changes? I've been playing around with the PayPal instructions on producing a subscription button - it's very easy and I've posted my code below.

    Would it be very expensive/difficult to tie this either to a new user sign-up or a new listing?

    I ask because I'd like to use 68C to produce a business directory site but if subscriptions are definitely not possible I'll have to look at something like sobi2 or sobipro.


    Many thanks,

    Michael


    PayPal Subscription Button Code:

    Code:
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="B3ZWYEHDX7PFN">
    <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_subscribe_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
    </form>
  2. John Snyder Staff

    Not very difficult if you have a good understanding of PHP, the hooks are there if you created a module. You could also use something like Authorize.net ' s SDK which is very complete. I am considering expanding payment gateways/ ordering in v5 to allow some for of subscription service, but this is not a promise.

    If you are comfortable creating a module or need some help, I can guide you here. There is a pretty good tutorial on setting up a module.

    For reference:

    Modules - 68 Classifieds
    Module Hooks - 68 Classifieds
    Direct Post Method (DPM)
    Advanced Integration Method (AIM)
    https://cms.paypal.com/us/cgi-bin/?...ontent_ID=developer/library_download_sdks#NVP

    The hooks you'd use is located in includes/classes/kernel/Register.php :
    PHP:
    $modules->call_hook('user_join'$userDetails); // Call any module functions
    This fires on a successful registration, so you could take over inside your module and present them with the button or the form with some user registration information preloaded for them. You would also have to verify the response from the gateway, but most of this is done or shown for you in the sdk.
  3. michael Just get on with it!

    Thank you John, that was a comprehensive and enlightening response.

    I've looked over both Authorize.net and PayPal's SDK's but really - along with creating a new module - this is a bit above my current skill set.

    If you, or another developer, are prepared to offer this as a paid module I would be the first to purchase although I'd like to get my project off the ground in the New Year, within January 2012 ideally.

    Any takers?
  4. John Snyder Staff

    I can help you or your developer, but I don't have the time for custom work these days. I'll definitely look into this for v5 as I work on it.
  5. michael Just get on with it!

    I guess I could start the directory with regular paid listings and then introduce subscriptions as a new feature when I upgrade to v5 (I really would like to stick with 68C).

    I know developers HATE this question but, any rough timescale on rolling out v5 RC's?

    Michael
  6. John Snyder Staff

    Don't know, its under heavy development is all I can say.
  7. michael Just get on with it!

    Wondering if V5 is still a 'live' project?

Share This Page