Skip to content

Controller_Google_Checkout not populating Model_Vendo_Order_Google model #4

Description

@powerspike

An error is thrown on line 60 ($order_data->update_google_id($google_id);) of the handle action of Controller_Google_Checkout.

The error is

ERROR: Database_Exception [ 1048 ]: Column 'order_id' cannot be null [ INSERT INTOorder_googles(id,order_id,google_order_id) VALUES ('', NULL, '<google_order_id here>') ] ~ MODPATH/database/classes/kohana/database/mysql.php [ 179 ]

And appears to be caused by the value for order_id not having previously been populated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions