Jump to content

kenfeyl

Members
  • Content count

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    Ken Feyl
  1. kenfeyl

    GBuy... who is working on a Mod?

    Essentially, I copied pieces from the various checkout_*.php steps, so that the "View Cart" page displays all the data on the order summary on checkout_payment.php, albeit with the ability to add and subtract items from the cart. So yes, this total includes all attributes and shipping. Although it does not display tax in this summary (because it doesn't know where you live), in the background it loads your tax zones and rates and keeps them in the XML sent to Google if the user checks out. The tax part works only for U.S. states. My current version calls out to $shipping->cheapest() to get the cheapest of all the shipping modules you've enabled (this is the method labelled "Best Way" in the standard osCommerce checkout_shipping.php). That is just my personal hack because I have two shipping modules from which the user will always prefer the cheaper. One thing I would like to do before packaging up this module is to add an Ajax shipping selection on the "View Cart" page, so that your user is allowed to select a shipping method before proceeding to Google, rather than just choosing the cheapest. This part will probably take me another few days as I know zero Ajax at the moment and Ajax is necessary since the XML will have to be repopulated after the shipping choice. The final step is the order and customer processing. Behind the scenes it adds rows to customers and orders once Google calls home via the callback API. If you want to get an idea of what's happening, and I'm embarassed to give out the link because you'll see that my site looks stock to the point of absurdity (my gf is working on a new template), check out http://www.officialclassicgames.com. Add an item to your cart, and then click on either "View Cart" or "Checkout." If you proceed to Google, you need to log in to your Google account before it actually populates the shipping and tax costs. But rest assured those came straight from my shipping modules and tax zones. The only real disconnect of my hack to the osCommerce world is that I'm short-circuiting the concept of registered customers. My customers no longer log in -- they simply fill up their cart and then proceed to Google. Tell me what you guys think. I know it's a bit radical to eliminate logins -- what do you guys think? Also, my hacks do make Google the only means of payment.
  2. kenfeyl

    GBuy... who is working on a Mod?

    Hey guys, I hacked up abbat's code to compute the cheapest shipping method and pass it on to Google as a default-flat-rate. It does the same for tax. In keeping with Google's mandate that no login be required before offering Google Checkout, I stuck the whole order summary on the "View Shopping Cart" page, along with the Google Checkout button. The tax is hidden on this summary because we don't have the user's location, but the tax configuration details are read from OSc's Tax Zones and Tax Rates and passed on to Google Checkout. I then configured Checkout's Callback URL to point to a script that collects order and customer information from Google and sticks it into OSc's order and customer tables. All in all, I'm pretty happy with the hacks -- my site no longer requires users to log in, and an entire purchase takes two clicks: one on the Google Checkout button on my "View Shopping Cart" page, and one on the actual Google Checkout page after the user has entered his information. What are your thoughts? Is there documentation on how I could wrap up a module with this stuff?
  3. kenfeyl

    Official PayPal IPN Support Thread

    Hi everyone, Thanks for all the excellent work on this module. Unfortunately, I'm having a similar problem. Customers can successfully order from my site using the IPN module. However, while orders do show up in the Customers/Orders tab, no notifications show up in Customers/PayPal IPN. Also, all orders' statuses always remain at "Pending" despite my getting ridiculous numbers of IPN update e-mails. In Customers/Orders, the status never updates, even when I complete payment or refund the order in PayPal. After clicking on the order in Customers/Orders, it says: Transaction Activity Date Status Details Action Gross Fee Net Amount No PayPal Transaction Information Available (f702c916acd790a801a4d945c0179801) Any ideas on how I can begin to debug this?
  4. kenfeyl

    Frustrated :(

    PREFACE: I meant to post this as a reply to the IPN support thread. Unfortunately, I erred and it seems I cannot correct it. If possible, please relocate my message there. Thank you. Hi everyone, Thanks for all the excellent work on this module. Unfortunately, I'm having a weird problem. Customers can successfully order from my site using the IPN module. However, while orders do show up in the Customers/Orders tab, no notifications show up in Customers/PayPal IPN. Also, all orders' statuses always remain at "Status: Pending" despite my getting ridiculous numbers of IPN update e-mails. In Customers/Orders, the status never updates, even when I complete payment or refund the order in PayPal. After clicking on the order in Customers/Orders, it says: Transaction Activity Date Status Details Action Gross Fee Net Amount No PayPal Transaction Information Available (f702c916acd790a801a4d945c0179801) Any ideas on how I can begin to debug this?
×