Joomla
Bonjour,
J'ai suivis les instructions de
www.hikashop.com/forum/5-support-en-fran...047-postfinance.html
Et suis actuellement en test mode pour postfinance.
Joomla! 2.5.14
HikaShop 2.2.1
PHP 5.2.17
Avec la version precedante, je pouvais faire la commande, elle etait cree, mais pas validee en "confirmed" au retour. Avec la derniere version, je me retrouve avec le message:
Transaction Failed with the status number :
Le panier est vide
J'ai monte le postfinance.php avec le $notify_url et change de POST en GET, mais cela ne change rien.
Dans le log, j'ai ceci:
Could not load any order for your notification stdClass Object
(
[order_id] => 55
[order_billing_address_id] => 1
[order_shipping_address_id] => 1
[order_user_id] => 1
[order_status] => cancelled
[order_discount_code] =>
[order_created] => 1377765987
[order_ip] => 81.62.117.168
[order_currency_id] => 151
[order_shipping_price] => 0.00000
[order_discount_price] => 0.00000
[order_shipping_id] =>
[order_shipping_method] =>
[order_payment_id] => 2
[order_payment_method] => postfinance
[order_full_price] => 320.38000
[order_modified] => 1377766008
[order_partner_id] => 0
[order_partner_price] => 0.00000
[order_partner_paid] => 0
[order_type] => sale
[order_partner_currency_id] => 0
[order_shipping_tax] => 0.00000
[order_discount_tax] => 0.00000
[order_number] => C5K5
[order_invoice_id] => 0
[order_invoice_number] =>
[order_tax_info] => Array
(
)
[order_payment_price] => 0.38000
[order_invoice_created] => 0
[order_shipping_params] =>
[order_payment_params] =>
)
Array
(
[option] => com_hikashop
[ctrl] => checkout
[task] => notify
[notif_payment] => postfinance
[tmpl] => component
[orderID] => 55
[currency] => CHF
[amount] => 320.38
[PM] => PostFinance Card
[ACCEPTANCE] => TEST
[STATUS] => 5
[CARDNO] =>
[ED] =>
[CN] =>
[TRXDATE] => 08/29/13
[PAYID] => 23447742
[NCERROR] => 0
[BRAND] => PostFinance Card
[IP] => 81.62.117.168
[SHASIGN] => B5604DF684D6CCC66E38150B09739B506F6428D5
[Itemid] =>
[hikashop_front_end_main] => 1
[view] => checkout
)
START
$_POST :Array
(
[orderID] => 55
[currency] => CHF
[amount] => 320.38
[PM] => PostFinance Card
[ACCEPTANCE] => TEST
[STATUS] => 5
[CARDNO] =>
[ED] =>
[CN] =>
[TRXDATE] => 08/29/13
[PAYID] => 23447742
[NCERROR] => 0
[BRAND] => PostFinance Card
[IP] => 81.62.117.168
[SHASIGN] => B5604DF684D6CCC66E38150B09739B506F6428D5
[hikashop_front_end_main] => 1
[view] => checkout
)
date :Array
(
[seconds] => 8
[minutes] => 47
[hours] => 10
[mday] => 29
[wday] => 4
[mon] => 8
[year] => 2013
[yday] => 240
[weekday] => Thursday
[month] => August
[0] => 1377766028
)
result :Array
(
[ACCEPTANCE] => TEST
[AMOUNT] => 320.38
[BRAND] => PostFinance Card
[CURRENCY] => CHF
[IP] => 81.62.117.168
[NCERROR] => 0
[ORDERID] => 55
[PAYID] => 23447742
[PM] => PostFinance Card
[STATUS] => 5
[TRXDATE] => 08/29/13
)
MYSHA : B5604DF684D6CCC66E38150B09739B506F6428D5 THEIRCHA : B5604DF684D6CCC66E38150B09739B506F6428D5
sha_out :AE42634A8CD26451095317C33D3C790DFFFAF27A
Est-ce que vous auriez une idee?
Avec mes meilleures salutations,
Eric HENRY