mofeewong Posted December 2, 2009 Share Posted December 2, 2009 我在本地测试安装western union 和money gram 模块的时候,订单是可以成功的,但上传到服务器以后(虚拟主机),到最后一步“I confirm my order ” 就提示 Order Creation Failed。 这是什么原因呢?试了其他源码里面的payment module, 也一样不行。谁能告诉我是什么原因。 Link to comment Share on other sites More sharing options...
21846657 Posted December 4, 2009 Share Posted December 4, 2009 插件目录权限是否设置正确?755或777? Link to comment Share on other sites More sharing options...
mofeewong Posted December 4, 2009 Author Share Posted December 4, 2009 插件目录权限是否设置正确?755或777? HI,我设置了权限为777或者755都还是不行。但是我在本地的测试的时候就可以使用的。上传到空间以后就不行了,一直找不到原因。 Link to comment Share on other sites More sharing options...
mofeewong Posted December 4, 2009 Author Share Posted December 4, 2009 在本地测试所有付款插件的时候,全部都是可以使用的,然后传到空间,就不行了。不知道是不是数据库的问题? Link to comment Share on other sites More sharing options...
mofeewong Posted December 4, 2009 Author Share Posted December 4, 2009 我按照英文论坛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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now