PostFinance

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #121077

Merci bien.
J'etais en mode de transaction d'aurosation, je l'ai passe en vente, du coup, c'est comme si rien ne se passait.
Et pas de log non plus... "the log file is empty.
Cela se passe que je sois en POST ou en GET a postfinance. Je vais essayer en changer le postfinance.php.
Avec mes meilleures salutations,
Eric HENRY

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #121078

PS. Il revient a /step-1 pour l'instant.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #121081

PS. Il revient a /step-1 pour l'instant.

Je n'ai pas tout compris :).

Effectuez vous vos tests en local ? Car pour correctement recevoir la notification de changement de statue, il faut au moins que votre site soit en ligne.

Last edit: 11 years 2 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #121085

Oui, il est en ligne et j'utilise l'environnement de test de postfinance.
Si je mets en GET postfinance.php et le site de postfinance, rien ne change, je me retrouve avec
"Transaction Failed with the status number :"
Et le log reste vide "The log file is empty"
J'ai teste avec Opera et Firefox et le comportement est identique.
Je suis un peu perdu du coup...

Je remets postfinance.php en POST de meme que le site.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #121091

PS. J'ai un status 9 maintenant au retour: paiement accepte.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #121093

I have this array in return

stdClass Object
(
[order_id] => 69
[order_billing_address_id] => 1
[order_shipping_address_id] => 1
[order_user_id] => 1
[order_status] => created
[order_discount_code] =>
[order_created] => 1377790833
[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] => 340.38000
[order_modified] => 1377790833
[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] => D6A9
[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] =>
[cart] => stdClass Object
(
[billing_address] => stdClass Object
(
[address_id] => 1
[address_user_id] => 1
[address_title] => Mr
[address_firstname] => Super
[address_middle_name] =>
[address_lastname] => User
[address_company] =>
[address_street] => savoise
[address_street2] =>
[address_post_code] => 1200
[address_city] => geneve
[address_telephone] => 0223425353
[address_telephone2] =>
[address_fax] =>
[address_state] => state_Gen__ve_3645
[address_country] => stdClass Object
(
[zone_id] => 204
[zone_namekey] => country_Switzerland_204
[zone_name] => Schweiz • Suisse • Svizzera • Svizra
[zone_name_english] => Switzerland
[zone_code_2] => CH
[zone_code_3] => CHE
[zone_type] => country
[zone_published] => 1
[zone_currency_id] => 0
)

[address_published] => 1
[address_vat] =>
[address_default] => 1
[address_member_number] =>
)

[fields] => Array
(
[address_title] => stdClass Object
(
[field_id] => 1
[field_table] => address
[field_realname] => Title
[field_namekey] => address_title
[field_type] => singledropdown
[field_value] => Mr::HIKA_TITLE_MR
Mrs::HIKA_TITLE_MRS
Miss::HIKA_TITLE_MISS
Ms::HIKA_TITLE_MS
Dr::HIKA_TITLE_DR
[field_published] => 1
[field_ordering] => 1
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_firstname] => stdClass Object
(
[field_id] => 2
[field_table] => address
[field_realname] => Firstname
[field_namekey] => address_firstname
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 2
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_lastname] => stdClass Object
(
[field_id] => 4
[field_table] => address
[field_realname] => Lastname
[field_namekey] => address_lastname
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 4
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_street] => stdClass Object
(
[field_id] => 6
[field_table] => address
[field_realname] => Street
[field_namekey] => address_street
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 6
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_post_code] => stdClass Object
(
[field_id] => 8
[field_table] => address
[field_realname] => Post code
[field_namekey] => address_post_code
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 8
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 0
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_city] => stdClass Object
(
[field_id] => 9
[field_table] => address
[field_realname] => City
[field_namekey] => address_city
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 9
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_telephone] => stdClass Object
(
[field_id] => 10
[field_table] => address
[field_realname] => Telephone
[field_namekey] => address_telephone
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 10
[field_options] => a:5:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_country] => stdClass Object
(
[field_id] => 14
[field_table] => address
[field_realname] => Country
[field_namekey] => address_country
[field_type] => zone
[field_value] =>
[field_published] => 1
[field_ordering] => 14
[field_options] => a:6:{s:12:"errormessage";s:0:"";s:4:"cols";s:0:"";s:4:"rows";s:0:"";s:9:"zone_type";s:7:"country";s:4:"size";s:0:"";s:6:"format";s:0:"";}
[field_core] => 1
[field_required] => 1
[field_backend] => 1
[field_frontcomp] => 1
[field_default] => country_France_73
[field_backend_listing] => 0
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

[address_member_number] => stdClass Object
(
[field_id] => 17
[field_table] => address
[field_realname] => No Membre
[field_namekey] => address_member_number
[field_type] => text
[field_value] =>
[field_published] => 1
[field_ordering] => 16
[field_options] => a:10:{s:12:"errormessage";s:46:"Le numero de membre est sur la carte de membre";s:4:"cols";s:0:"";s:9:"filtering";s:1:"1";s:9:"maxlength";s:1:"0";s:4:"rows";s:0:"";s:9:"zone_type";s:7:"country";s:4:"size";s:0:"";s:6:"format";s:0:"";s:5:"allow";s:0:"";s:8:"readonly";s:1:"0";}
[field_core] => 0
[field_required] => 0
[field_backend] => 1
[field_frontcomp] => 1
[field_default] =>
[field_backend_listing] => 1
[field_access] => all
[field_categories] => all
[field_with_sub_categories] => 0
[field_display] =>
)

)

[shipping_address] => stdClass Object
(
[address_id] => 1
[address_user_id] => 1
[address_title] => Mr
[address_firstname] => Super
[address_middle_name] =>
[address_lastname] => User
[address_company] =>
[address_street] => savoise
[address_street2] =>
[address_post_code] => 1200
[address_city] => geneve
[address_telephone] => 0223425353
[address_telephone2] =>
[address_fax] =>
[address_state] => state_Gen__ve_3645
[address_country] => stdClass Object
(
[zone_id] => 204
[zone_namekey] => country_Switzerland_204
[zone_name] => Schweiz • Suisse • Svizzera • Svizra
[zone_name_english] => Switzerland
[zone_code_2] => CH
[zone_code_3] => CHE
[zone_type] => country
[zone_published] => 1
[zone_currency_id] => 0
)

[address_published] => 1
[address_vat] =>
[address_default] => 1
[address_member_number] =>
)

)

)



Array
(
[option] => com_hikashop
[ctrl] => checkout
[task] => notify
[notif_payment] => postfinance
[tmpl] => component
[lang] => fr
[Itemid] => 172
[orderID] => 69
[currency] => CHF
[amount] => 340.38
[PM] => PostFinance Card
[ACCEPTANCE] => TEST
[STATUS] => 9
[CARDNO] =>
[ED] =>
[CN] =>
[TRXDATE] => 08/29/13
[PAYID] => 23456360
[NCERROR] => 0
[BRAND] => PostFinance Card
[IP] => 81.62.117.168
[SHASIGN] => 59A5CCE13ABCB2DFCB56B8ED10E5F33D92E3EDFB
[dhtmlgoodies_tab_menu_tabIndex] => index: 3
[jpanesliders_content-sliders-] => 0
[PHPSESSID] => 71854b2f9ea08bb4c8588e4ec0098be9
[configuration] => site
[information] => directory
[jpanesliders_position-icon] => 0
[jpanesliders_panel-sliders] => 0
[jpanesliders_menu-sliders-] => 0
[jpanesliders_menu-sliders-230] => 0
[hikashop_front_end_main] => 1
[view] => checkout
)



START
<br/>$_POST :Array
(
)
<br/>date :Array
(
[seconds] => 48
[minutes] => 41
[hours] => 17
[mday] => 29
[wday] => 4
[mon] => 8
[year] => 2013
[yday] => 240
[weekday] => Thursday
[month] => August
[0] => 1377790908
)
<br/>result :Array
(
)
<br/>MYSHA : DA39A3EE5E6B4B0D3255BFEF95601890AFD80709 THEIRCHA : <br/>sha_out :AE42634A8CD26451095317C33D3C790DFFFAF27A<br/>

But the next function from the component is a cancel_order

I'm lost.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #121225

Comme le dis le fichier de log :

MYSHA : DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
THEIRCHA :
sha_out :AE42634A8CD26451095317C33D3C790DFFFAF27A


Hikashop ne parvient pas à récupérer le "SHA" envoyé par PostFinance (ces données sont récupérées en POST par hikashop et non en GET).
Avez vous modifiez le code du plugin PostFinance ?

Attachments:
Last edit: 11 years 2 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #121775

Merci bien. J ai remonte le plugin.

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 months ago #122239

Toujous le meme probleme: malgre des parametres correctes et un paiement accepte, il passe toujours en annulation de commande.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #122289

D'accord, pourriez vous me fournir un accès temporaire avec votre partie administration via message privée, cela m'aiderai à comprendre d'ou provient le problème.
Merci.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum