Results 1 to 10 of 1019

Threaded View

  1. #11
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Super Orders v3.0 Support Thread

    Status on the upcoming release (highlights):

    Super Orders Auto Payment Generation for PayPal Orders:

    So after a LOT of trial and error, I was able to fix the PayPal auto payments code.. Still dunno why the code in the current v3.0 fileset worked on my client's store.. (and still does) But no matter got it all working. Felt I needed to explain HOW the PayPal auto payments will be generated so that it is CLEAR how this functionality will work.

    A Super Orders payment record will be auto-created for PayPal paid orders if:

    • There is no existing Super Orders payment record for the order

    AND

    • The PAYPAL payment status is "Completed"

    IF BOTH conditions are true, then a Super Orders payment record will automatically be created for the order.




    NO AUTO PAYMENT will be generated if:

    • There is an existing Super Orders payment record for the order

    OR

    • The PAYPAL payment status (NOT THE ORDER STATUS) is NOT "Completed"





    The benefits to this are two-fold:

    • Super Orders payment records will generate for older orders now. (All you have to do is open the target order and the Super Orders payment record will be auto created for you!!)
    • Super Orders will not inadvertently generate a Super Orders payment record until the PayPal payment has been completed and cleared by PayPal. (preventing orders in which the payment is NOT "Completed" from being inadvertently marked as a paid order when in fact it is not) When the PayPal payment status is updated (an automatic Zen Cart function), then the Super Orders payment record will automatically be created!




    Credit Card Auto Payment Generation Tweak:

    I decided to update the class file that auto generates Super Orders payments for credit card paid orders based on Blindside's post here:
    http://www.zen-cart.com/forum/showpo...&postcount=207. (just the part of this code which relates to credit payments.. PayPal auto payments are handled differently)


    I meant to include this in the v3.0 release, but it slipped my mind..

    I liked the fact that it no longer hardcodes the credit card codes, and instead relies on the data in the Super Orders payments types table. IF a NEW credit card type is supported by Zen Cart, the only thing Super Orders users need to do is to create a corresponding Super Orders payment type (the Super Orders payment code must match the corresponding credit card as it does now for supported credit cards).. This is loads easier for all I think!!

    This will help keep people -- particularly newbies -- "out of the code" just to update the module.. Having to edit module files is often where things go wrong for newbies..

    Just so it's clear -- Auto payment generation for credit cards is slightly different than the new PayPal auto payment generation.

    Auto payment generation for credit cards happens at the time of checkout. While PayPal auto payments are generated when the order is accessed from the Super Orders management screen.

    The reason for this difference has everything to do with the general assumption that credit card payments are collected at the time of the sale, while PayPal payments may not be confirmed until 24-28 hours after the order is completed.


    ===============================

    Got a lot ready for the next release (these are just some highlights).. I still have a few buglets left to grapple with.. I'll post here when I have additional updates on the next release.. (Please don't ask for an ETA.. I have to fit this work in between all my other obligations.. I am working as fast as my free time allows folks.. But I am hoping you will see something REALLY soon!)
    Last edited by DivaVocals; 15 Jan 2011 at 07:37 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v150 Edit Orders v4.0 Support Thread
    By DivaVocals in forum Addon Admin Tools
    Replies: 1877
    Last Post: 6 May 2025, 05:10 PM
  2. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 804
    Last Post: 18 Apr 2025, 12:04 AM
  3. Edit Orders v3.0 for ZC 1.3.9 [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 656
    Last Post: 18 Apr 2016, 06:28 PM
  4. OLD Super Orders 2.0 (See v3.0 thread instead)
    By BlindSide in forum All Other Contributions/Addons
    Replies: 2019
    Last Post: 17 Jan 2012, 05:43 AM
  5. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM

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