Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Idea or Suggestion Paypal & Reoccuring Orders

    Has anyone wrote a module for this yet?

    I have done some digging around, and it looks like there was one, but was buggy. But the link no longer works and countless posts on different boards with no answers. I saw some one did PayPal UK for OS Commerce, but that was from 4 years ago.


    Not sure why no one has done this, is it impossible to code? Has anyone ever tried this before?

    Is this a desirable module?

    Thanks, for your help in advance

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Paypal & Reoccuring Orders

    It's one thing to tell the gateway to keep billing a credit card. It's quite another to set up all the requirements in your products to know all the correct variations on that recurring billing plan (how many payments, how frequently, what amount, how much in first payment and then how much in subsequent payments, and so on). And yet another to establish a way of correctly adding those repeat "sales" to your store as new orders, so that there's an invoice to match the billing activity.
    Thus far nobody has written all those things and shared them.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2013
    Location
    Georgia
    Posts
    25
    Plugin Contributions
    0

    Default Re: Paypal & Reoccuring Orders

    I had a thought about a potential work around for this that may not be acceptable or even work but I've got to throw it out there. It also does not account for someone going directly to PayPal or other payment processor and stopping the recurring billing "behind the store owner's back." This is my first store and I'm just starting to get things setup. I desperately want this feature to work because a Coffee Club is a key part of our offering. My cart is v1.5 installed via 1-click from Host Gator so I don't know much about it yet.

    1. Add "Recurring" as an option for the Order Status in the database. After the recurring payment is setup with the Payment Processor (ie. PayPal Pro or anyone that does the recurring payments for you) the order is placed into the Recurring status and stays that way until they decide to stop receiving the product.
    2. Each night a Cron job or scheduled task is run that will:
    a. Query the database for any "Recurring" orders with yesterday's Day of the month (the 27th for example.) I'm saying Yesterday assuming the job will execute in the early morning hours. This would also need to account for the 31st on months that don't have 31 days and for "missing" days in February.
    b. Create a new order using the details of the Recurring order and place it into a "Processing" status. Assuming that payment details are stored with each order it could put the original info there as well.
    3. When the customer wishes to stop receiving the order it gets moved to a "Complete" status so that the next month when the Cron job runs it will not see that order.

    This method only accounts for Monthly rebills and I'm sure has several other flaws as well. As I said before this is my first store and what I don't know about this whole process could fill a warehouse so please excuse any obvious errors above. Hopefully my intention for how I see this work around going is clear enough. I don't know if ZC has any automated processes built into it like daily Cron jobs or if something other than ZC messing with the DB would mess things up. If we can get this working for even just our first dozen clients we may have enough to pay a developer to make a proper module for us that will do the whole process in a cleaner manner. Feel free to rip this idea to shreds but hopefully this will spark something with a developer even if my plan will not work.

 

 

Similar Threads

  1. Orders suddenly "getting lost" between Paypal & Zen
    By artjewl in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 29 Apr 2011, 04:17 PM
  2. Paypal & non-account credit card orders
    By tiltem in forum PayPal Express Checkout support
    Replies: 5
    Last Post: 19 Apr 2010, 08:01 PM
  3. Reoccuring Billing and Activation Fee with PayPal?
    By whoknowswhat in forum General Questions
    Replies: 0
    Last Post: 31 Oct 2009, 04:33 PM
  4. Paypal IPN & not registering orders in store on GoDaddy Hosting
    By Mineralicious in forum Built-in Shipping and Payment Modules
    Replies: 18
    Last Post: 16 Sep 2008, 06:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR