Jump to content

[1.7.8]Paiement impossible - J'ouvre le bal


Recommended Posts

Bonjour à tous.

Je pense etre dans la bonne categorie, mais je suis pas sur. Si ce n'est pas la cas, merci à un modo de le deplacer dans la bonne categorie. :)

Alors, j'ai voulu tester la nouvelle version de la 1.7.8 et son lot de bug qui va avec. Bien-sur j'ai cloné ma boutique, je suis dans un environnement de test. (Je viens de la 1.7.6.5)

Globalement tout s'est bien passé et ca a l'air de fonctionner. En back office, j'ai testé plusieurs choses que je fais d'habitude et ca fonctionne.

Je veux tester la partie utilisateur maintenant. Je mets un objet dans mon panier et je veux aller au bout de la commande. Quand j'arrive sur le moyen de paiement. Le bouton pour payer n'est pas 'cliquable'.

J'ai passé ma boutique en debug mode pour voir l'erreur (en fin de message).

J'ai testé avec une version de php 7.4 comme preconisé. Ca n'a rien changé.

Est ce que ca pourrait venir du theme ? Je suis avec le theme de Prestacrea Universal que je n'ai pas mis à jour pour l'occasion...

 

Pensez vous à autre chose ?

Merci à tous.

Mathieu

 

Voila le rapport de bug :

 

Whoops, looks like something went wrong.

(1/1) ContextErrorException
Warning: Illegal string offset 'display_prices_tax_incl'
in 185dcec11f2520a3dcd91cc5601946b57446ed41_2.file.order-confirmation-table.tpl.php line 198
at Block_1730536472615f0c159d76c5_13310806 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_1730536472615f0c159d76c5_13310806),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_1730536472615f0c159d76c5_13310806))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_1730536472615f0c159d76c5_13310806', 'order_confirmation_table')
in 185dcec11f2520a3dcd91cc5601946b57446ed41_2.file.order-confirmation-table.tpl.php line 38
at content_615f0c15a00998_28672563( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( )
in smarty_internal_template.php line 385
at Smarty_Internal_Template -> _subTemplateRender( 'checkout/_partials/order-confirmation-table.tpl', null,
null, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance -> endChild( object(SmartyDevTemplate), 'checkout/_partials
/order-confirmation-table.tpl')
in 12caecb5d1deba680dc45bc1b26af4cedfd1e048_2.file.order-final-summary-table.tpl.php line 34
at content_615f0c159d2cf8_92500356( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( )
in smarty_internal_template.php line 385
at Smarty_Internal_Template -> _subTemplateRender( 'file:checkout/_partials/order-final-summary-
table.tpl', null, null, 0, 3600, array('products' => array(object(ProductListingLazyArray)), 'products_count' =>
1, 'subtotals' => array('products' => array('type' => 'products', 'label' => 'Sous-total', 'amount' => 11.0, 'value'
=> '11,00 €'), 'discounts' => null, 'shipping' => array('type' => 'shipping', 'label' => 'Livraison', 'amount' => 0,
'value' => 'gratuit'), 'tax' => array('type' => 'tax', 'label' => 'Taxes incluses', 'amount' =>
1.8300000000000000710542735760100185871124267578125, 'value' => '1,83 €')), 'totals' => array('total'
=> array('type' => 'total', 'label' => 'Total', 'amount' => 11.0, 'value' => '11,00 €'), 'total_including_tax' =>
array('type' => 'total', 'label' => 'Total TTC', 'amount' => 11.0, 'value' => '11,00 €'), 'total_excluding_tax' =>
array('type' => 'total', 'label' => 'Total HT :', 'amount' =>
9.1699999999999999289457264239899814128875732421875, 'value' => '9,17 €')), 'labels' =>
array('tax_short' => 'TTC', 'tax_long' => '(TTC)'), 'add_product_link' => true), 0, false)
in af2a72acd61f1b001854c3f358566bdbd1ac387f_2.file.order-final-summary.tpl.php line 112
at Block_1477328966615f0c159c6d54_76009997 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_1477328966615f0c159c6d54_76009997),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_1477328966615f0c159c6d54_76009997))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_1477328966615f0c159c6d54_76009997', 'order_confirmation_table')
in af2a72acd61f1b001854c3f358566bdbd1ac387f_2.file.order-final-summary.tpl.php line 94
at content_615f0c159c9e00_25532249( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( )
in smarty_internal_template.php line 385
at Smarty_Internal_Template -> _subTemplateRender( 'file:checkout/_partials/order-final-summary.tpl', null,
null, 0, 3600, array(), 0, false)
in ddb90fdad4976ddff789cb82898c5fa130cf1fb5_2.file.payment.tpl.php line 168
at Block_929021302615f0c15996870_36199390 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_929021302615f0c15996870_36199390),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_929021302615f0c15996870_36199390),
object(Block_438668309615f0c148ff526_55964601))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_438668309615f0c148ff526_55964601))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_438668309615f0c148ff526_55964601', 'step_content', 1)
in 907487b20012b3f07a889099b241cbd1669e51fa_2.file.checkout-step.tpl.php line 70
at Block_1998253857615f0c148fbb58_26868980 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_1998253857615f0c148fbb58_26868980),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_1998253857615f0c148fbb58_26868980))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_1998253857615f0c148fbb58_26868980', 'step')
in 907487b20012b3f07a889099b241cbd1669e51fa_2.file.checkout-step.tpl.php line 29
at content_615f0c14900268_31437167( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( )
in smarty_internal_template.php line 385
at Smarty_Internal_Template -> _subTemplateRender( 'checkout/_partials/steps/checkout-step.tpl', null,
null, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance -> endChild( object(SmartyDevTemplate), 'checkout/_partials
/steps/checkout-step.tpl')
in ddb90fdad4976ddff789cb82898c5fa130cf1fb5_2.file.payment.tpl.php line 35
at content_615f0c159b5557_24881082( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase -> _execute( object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase -> fetch( null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore -> fetch( )
in AbstractCheckoutStep.php line 100
at AbstractCheckoutStepCore -> renderTemplate( 'checkout/_partials/steps/payment.tpl', array('identifier' =>
'checkout-payment-step', 'position' => 4, 'ui' => object(RenderableProxy)), array('is_free' => false,
'payment_options' => array('stripe_official' => array(array('module_name' => 'stripe_official', 'binary' => null,
'action' => null, 'form' => '<form class="stripe-payment-form" id="stripe-card-payment"> <input
type="hidden" name="stripe-payment-method" value="card"> <div class="stripe-error-message alert alert-
danger"> </div> <div id="stripe-card-element" class="field"></div> <input name="cardholder-name"
type="text" autocomplete="off" id="stripe-card-cardholdername" class="stripe-name" data-stripe="name"

in CheckoutPaymentStep.php line 108
at CheckoutPaymentStepCore -> render( array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' =>
object(RenderableProxy)))
in RenderableProxy.php line 52
at RenderableProxy -> render( array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' =>
object(RenderableProxy)))
in smartyfront.config.inc.php line 98
at smartyRender( array('identifier' => 'checkout-payment-step', 'position' => 4, 'ui' =>
object(RenderableProxy)), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister -> __call( 'smartyRender', array(array('identifier' => 'checkout-payment-step',
'position' => 4, 'ui' => object(RenderableProxy)), object(SmartyDevTemplate)))
in d015f8d51517192fbca3880f01dffbd12a7030de_2.file.checkout-process.tpl.php line 29
at content_615f0c148dc304_52771290( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase -> _execute( object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase -> fetch( null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore -> fetch( )
in CheckoutProcess.php line 160
at CheckoutProcessCore -> render( array('file' => 'checkout/checkout-process.tpl', 'ui' =>
object(RenderableProxy)))
in RenderableProxy.php line 52
at RenderableProxy -> render( array('file' => 'checkout/checkout-process.tpl', 'ui' =>
object(RenderableProxy)))
in smartyfront.config.inc.php line 98
at smartyRender( array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)),
object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister -> __call( 'smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' =>
object(RenderableProxy)), object(SmartyDevTemplate)))
in 060ed537fc7f16841a031d340216ceb0038676d2_2.file.checkout.tpl.php line 89
at Block_242964672615f0c145d5f74_51024298 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_242964672615f0c145d5f74_51024298),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_242964672615f0c145d5f74_51024298))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_242964672615f0c145d5f74_51024298', 'cart_summary', 0)
in 060ed537fc7f16841a031d340216ceb0038676d2_2.file.checkout.tpl.php line 131
at Block_1987286534615f0c145d58e3_66201002 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_1987286534615f0c145d58e3_66201002),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_1987286534615f0c145d58e3_66201002),
object(Block_28637767615f0c145e51d3_21960342))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_28637767615f0c145e51d3_21960342))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_28637767615f0c145e51d3_21960342', 'content', 1)
in b28504d4bc6c5cc014f90a38c79e22e81c637675_2.file.layout-full-width.tpl.php line 99
at Block_1565793308615f0c145e3b30_58229461 -> callBlock( object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at
Smarty_Internal_Runtime_Inheritance -> callBlock( object(Block_1565793308615f0c145e3b30_58229461),
object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_1565793308615f0c145e3b30_58229461),
object(Block_1967292962615f0c145fd8c3_30818708))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance -> process( object(SmartyDevTemplate),
object(Block_1967292962615f0c145fd8c3_30818708))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance -> instanceBlock( object(SmartyDevTemplate),
'Block_1967292962615f0c145fd8c3_30818708', 'center_column')
in 624127d985f54c1d85bae97e13e4692753e87fcc_2.file.layout-both-columns.tpl.php line 117
at content_615f0c14609920_11388694( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( )
in smarty_internal_template.php line 385
at Smarty_Internal_Template -> _subTemplateRender( 'layouts/layout-both-columns.tpl', null,
'universallayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance -> endChild( object(SmartyDevTemplate), 'layouts/layout-both-
columns.tpl')
in b28504d4bc6c5cc014f90a38c79e22e81c637675_2.file.layout-full-width.tpl.php line 43
at content_615f0c145e63e8_50593939( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( )
in smarty_internal_template.php line 385
at Smarty_Internal_Template -> _subTemplateRender( 'layouts/layout-full-width.tpl', null,
'universallayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance -> endChild( object(SmartyDevTemplate), 'layouts/layout-full-
width.tpl')
in 060ed537fc7f16841a031d340216ceb0038676d2_2.file.checkout.tpl.php line 52
at content_615f0c145dba13_14588502( object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base -> getRenderedTemplateCode( object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled -> render( object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template -> render( false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase -> _execute( object(SmartyDevTemplate), null, 'universallayouts/layout-
full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase -> fetch( 'checkout/checkout.tpl', null, 'universallayouts/layout-full-
width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev -> fetch( 'checkout/checkout.tpl', null, 'universallayouts/layout-full-width.tpl')
in FrontController.php line 727
at FrontControllerCore -> smartyOutputContent( 'checkout/checkout.tpl')
in FrontController.php line 709
at FrontControllerCore -> display( )
in Controller.php line 326
at ControllerCore -> run( )
in Dispatcher.php line 518
at DispatcherCore -> dispatch( )
in index.php line 28

 

Edited by yoshiyo (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Pour régler le problème provisoirement 

Modifier le fichier payment.tpl du thème

<button type="submit" {if !$selected_payment_option} disabled {/if} class="btn btn-primary center-block btn-general-bg btn-general-color"> {l s='Order with an obligation to pay' d='Shop.Theme.Checkout'} </button>

devient : 

<button type="submit" class="btn btn-primary center-block btn-general-bg btn-general-color disabled"> {l s='Order with an obligation to pay' d='Shop.Theme.Checkout'} </button>

  • Like 1
Link to comment
Share on other sites

Bonjour Djmatt62,

Merci pour votre reponse, ca m'a permis de comprendre que le probleme venait du theme. Je suis retourné voir le theme et une mise à jour etait dispo. En la faisant, ca resout le probleme. Le bouton est de nouveau cliquable et le paiement s'effectue.
Je vais continuer mes tests. Merci beaucoup de votre aide !

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...