Skip to content

Instantly share code, notes, and snippets.

@bogdan
Created May 23, 2014 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogdan/aaa41d9de099b940cad5 to your computer and use it in GitHub Desktop.
Save bogdan/aaa41d9de099b940cad5 to your computer and use it in GitHub Desktop.
Value for params[:order][:discount_codes] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:note_attributes] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:tax_lines] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:line_items][:properties] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:line_items][:tax_lines] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:shipping_lines][:tax_lines] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:fulfillments] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Value for params[:order][:refunds] was set to nil, because it was one of [], [null] or [null, null, ...]. Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation for more information.
Processing by Public::PurchasesController#create_shopify as */*
Parameters: {"order"=>{"buyer_accepts_marketing"=>false, "cancel_reason"=>nil, "cancelled_at"=>nil, "cart_token"=>"60d2b770f9cbab802c6bd93c08a5e2cf", "checkout_token"=>"65b46cb3c2b3ec585571177eb2db664c", "closed_at"=>nil, "confirmed"=>true, "created_at"=>2014-05-23 13:23:06 UTC, "currency"=>"GBP", "email"=>"sexybaby183@hotmail.com", "financial_status"=>"paid", "fulfillment_status"=>nil, "gateway"=>"paypal", "id"=>277385581, "landing_site"=>"/products/28-day-teatox", "location_id"=>nil, "name"=>"#117794", "note"=>nil, "number"=>"[FILTERED]", "reference"=>nil, "referring_site"=>nil, "source"=>"browser", "source_identifier"=>nil, "source_name"=>"web", "source_url"=>nil, "subtotal_price"=>#<BigDecimal:7f4a2bc451b8,'0.3499E2',18(18)>, "taxes_included"=>true, "test"=>false, "token"=>"472dc241bb601eea4bed1cd216898eb2", "total_discounts"=>#<BigDecimal:7f4a2bc3a420,'0.0',9(18)>, "total_line_items_price"=>#<BigDecimal:7f4a2bc39ef8,'0.3499E2',18(18)>, "total_price"=>#<BigDecimal:7f4a2bc397f0,'0.3799E2',18(18)>, "total_price_usd"=>#<BigDecimal:7f4a2bc38eb8,'0.6408E2',18(18)>, "total_tax"=>#<BigDecimal:7f4a2bc385d0,'0.0',9(18)>, "total_weight"=>907, "updated_at"=>2014-05-23 13:23:06 UTC, "user_id"=>nil, "browser_ip"=>"95.150.189.173", "landing_site_ref"=>nil, "order_number"=>"[FILTERED]", "discount_codes"=>nil, "note_attributes"=>nil, "processing_method"=>"express", "checkout_id"=>267448993, "tax_lines"=>nil, "tags"=>nil, "line_items"=>[{"fulfillment_service"=>"manual", "fulfillment_status"=>nil, "gift_card"=>false, "grams"=>907, "id"=>492573177, "price"=>#<BigDecimal:7f4a2bc1a8c8,'0.3499E2',18(18)>, "product_id"=>138536325, "quantity"=>1, "requires_shipping"=>true, "sku"=>"28day", "taxable"=>true, "title"=>"28 Day Teatox", "variant_id"=>316218555, "variant_title"=>nil, "vendor"=>"bootea", "name"=>"28 Day Teatox", "variant_inventory_management"=>nil, "properties"=>nil, "product_exists"=>true, "fulfillable_quantity"=>1, "tax_lines"=>nil}], "shipping_lines"=>[{"code"=>"UK Shipping", "price"=>#<BigDecimal:7f4a2bbd2b18,'0.3E1',9(18)>, "source"=>"shopify", "title"=>"UK Shipping", "tax_lines"=>nil}], "billing_address"=>{"type"=>"Address", "address1"=>"99 Springfield Road", "address2"=>nil, "city"=>"Sheffield", "company"=>nil, "country"=>"United Kingdom", "first_name"=>"Fiona", "last_name"=>"Squire", "latitude"=>53.35032, "longitude"=>-1.50199, "phone"=>"+44 1142960102", "province"=>"South Yorkshire", "zip"=>"S7 2GG", "name"=>"Fiona Squire", "country_code"=>"GB", "province_code"=>nil}, "shipping_address"=>{"type"=>"Address", "address1"=>"99 Springfield Road", "address2"=>nil, "city"=>"Sheffield", "company"=>nil, "country"=>"United Kingdom", "first_name"=>"Fiona", "last_name"=>"Squire", "latitude"=>53.35032, "longitude"=>-1.50199, "phone"=>"+44 1142960102", "province"=>"South Yorkshire", "zip"=>"S7 2GG", "name"=>"Fiona Squire", "country_code"=>"GB", "province_code"=>nil}, "fulfillments"=>nil, "client_details"=>{"accept_language"=>"en-gb", "browser_ip"=>"95.150.189.173", "session_hash"=>"6f63c44c8665f1db52e05de9354661c0c67e687852cad1525b40bb89be6c5ad1", "user_agent"=>"Mozilla/5.0 (iPhone; CPU iPhone OS 7_0_4 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11B554a Safari/9537.53"}, "refunds"=>nil, "customer"=>{"accepts_marketing"=>false, "created_at"=>2014-05-23 13:22:06 UTC, "email"=>"sexybaby183@hotmail.com", "first_name"=>"Fiona", "id"=>256894933, "last_name"=>"Squire", "last_order_id"=>277385581, "multipass_identifier"=>nil, "note"=>nil, "orders_count"=>1, "state"=>"disabled", "total_spent"=>#<BigDecimal:7f4a2bba0370,'0.3799E2',18(18)>, "updated_at"=>2014-05-23 13:23:06 UTC, "verified_email"=>true, "tags"=>nil, "last_order_name"=>"#117794", "default_address"=>{"address1"=>"99 Springfield Road", "address2"=>nil, "city"=>"Sheffield", "company"=>nil, "country"=>"United Kingdom", "first_name"=>"Fiona", "id"=>318448625, "last_name"=>"Squire", "phone"=>"+44 1142960102", "province"=>"South Yorkshire", "zip"=>"S7 2GG", "name"=>"Fiona Squire", "province_code"=>nil, "country_code"=>"GB", "country_name"=>"United Kingdom", "default"=>true}}}, "site_id"=>"bootea"}
Site Load (0.8ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`cached_slug` = 'bootea' ORDER BY `sites`.`id` ASC LIMIT 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment