Jump to content

[已解决]SOS!!!订单确认页面问题。。。。


mofeewong

Recommended Posts

我在本地测试安装western union 和money gram 模块的时候,订单是可以成功的,但上传到服务器以后(虚拟主机),到最后一步“I confirm my order ” 就提示 Order Creation Failed。 这是什么原因呢?试了其他源码里面的payment module, 也一样不行。谁能告诉我是什么原因。

15400_B1LzFT7kg7IbJCKn8gST_t

Link to comment
Share on other sites

我按照英文论坛http://www.prestashop.com/forums/viewthread/12805/general_discussion/urgent_help_needed_order_creation_failed 来操作的,得到一下的代码:

Order Object
(
   [id_address_delivery] => 5
   [id_address_invoice] => 5
   [id_cart] => 5
   [id_currency] => 2
   [id_lang] => 1
   [id_customer] => 4
   [id_carrier] => 3
   [secure_key] => 687adff5a902d6dec03bb046c16686bc
   [payment] => WesternUnion
   [module] => westernunion
   [recyclable] => 0
   [gift] => 0
   [gift_message] => 
   [shipping_number] => 
   [total_discounts] => 0
   [total_paid] => 62.82
   [total_paid_real] => 62.82
   [total_products] => 42.82
   [total_shipping] => 20
   [total_wrapping] => 0
   [invoice_number] => 
   [delivery_number] => 
   [invoice_date] => 
   [delivery_date] => 
   [valid] => 
   [date_add] => 
   [date_upd] => 
   [tables:protected] => Array
       (
           [0] => orders
       )

   [fieldsRequired:protected] => Array
       (
           [0] => id_address_delivery
           [1] => id_address_invoice
           [2] => id_cart
           [3] => id_currency
           [4] => id_lang
           [5] => id_customer
           [6] => id_carrier
           [7] => payment
           [8] => total_paid
           [9] => total_paid_real
           [10] => total_products
       )

   [fieldsSize:protected] => Array
       (
           [payment] => 32
       )

   [fieldsValidate:protected] => Array
       (
           [id_address_delivery] => isUnsignedId
           [id_address_invoice] => isUnsignedId
           [id_cart] => isUnsignedId
           [id_currency] => isUnsignedId
           [id_lang] => isUnsignedId
           [id_customer] => isUnsignedId
           [id_carrier] => isUnsignedId
           [secure_key] => isMd5
           [payment] => isGenericName
           [recyclable] => isBool
           [gift] => isBool
           [gift_message] => isMessage
           [total_discounts] => isPrice
           [total_paid] => isPrice
           [total_paid_real] => isPrice
           [total_products] => isPrice
           [total_shipping] => isPrice
           [total_wrapping] => isPrice
           [shipping_number] => isUrl
       )

   [table:protected] => orders
   [identifier:protected] => id_order
   [id] => 
   [fieldsRequiredLang:protected] => Array
       (
       )

   [fieldsSizeLang:protected] => Array
       (
       )

   [fieldsValidateLang:protected] => Array
       (
       )

)

END



其中,发票数据和订单添加时间好象是没写入数据库还是调用不到:

   [invoice_number] => 
   [delivery_number] => 
   [invoice_date] => 
   [delivery_date] => 
   [valid] => 
   [date_add] => 
   [date_upd] => 



我看了本地的数据库和网上的数据库,设置都是一样的。请问是出现什么问题?期待解答。非常感谢!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...