Jump to content
xt:Commerce Community Forum

Paypal Plus Rechnung - Wie bekomme ich die Bankdetails in die Email


Recommended Posts

Hallo,

wie kann ich die Bankdetails von Paypal Rechnung in der Email anzeigen lassen oder zumindest unterscheiden, ob per Paypal Rechnung bezahlt wurde?

Momentan wird in den Mails nur Zahlung per Paypal angezeigt. Ich habe bereits versucht mit $order_data zu dumpen um zu sehen ob dort zusätzliche Informationen verfügbar sind, aber habe nichts passendes gefunden. Gibt es eine zusätzliche Templatevariable in der Email wenn per Paypal Rechnung bezahlt wurde?

Vielen Dank!

Link to comment
Share on other sites

Leider funktioniert das nicht, da $order_data.bank_details nicht gesetzt ist in der Email. Hängt das eventuell mit den Versionen zusammen?

xtCommerce 4.2.00

paypal plus 1.4.5

bank details 1.0.2

 

Ein dump von $order_data:

array(81) {
  ["orders_id"]=>
  string(4) "1031"
  ["customers_id"]=>
  string(1) "3"
  ["customers_cid"]=>
  NULL
  ["customers_vat_id"]=>
  string(0) ""
  ["customers_status"]=>
  string(1) "2"
  ["customers_email_address"]=>
  string(22) "[email protected]"
  ["delivery_gender"]=>
  string(1) "m"
  ["delivery_phone"]=>
  string(0) ""
  ["delivery_mobile_phone"]=>
  NULL
  ["delivery_fax"]=>
  string(0) ""
  ["delivery_firstname"]=>
  string(3) "Tim"
  ["delivery_lastname"]=>
  string(8) "Rottmann"
  ["delivery_company"]=>
  string(0) ""
  ["delivery_company_2"]=>
  string(0) ""
  ["delivery_company_3"]=>
  string(0) ""
  ["delivery_street_address"]=>
  string(8) "testetst"
  ["delivery_suburb"]=>
  string(0) ""
  ["delivery_city"]=>
  string(6) "berlin"
  ["delivery_postcode"]=>
  string(6) "123123"
  ["delivery_zone"]=>
  string(2) "31"
  ["delivery_zone_code"]=>
  NULL
  ["delivery_country"]=>
  string(11) "Deutschland"
  ["delivery_country_code"]=>
  string(2) "DE"
  ["delivery_address_book_id"]=>
  string(1) "3"
  ["billing_gender"]=>
  string(1) "m"
  ["billing_phone"]=>
  string(0) ""
  ["billing_mobile_phone"]=>
  NULL
  ["billing_fax"]=>
  string(0) ""
  ["billing_firstname"]=>
  string(3) "Tim"
  ["billing_lastname"]=>
  string(8) "Rottmann"
  ["billing_company"]=>
  string(0) ""
  ["billing_company_2"]=>
  string(0) ""
  ["billing_company_3"]=>
  string(0) ""
  ["billing_street_address"]=>
  string(8) "testetst"
  ["billing_suburb"]=>
  string(0) ""
  ["billing_city"]=>
  string(6) "berlin"
  ["billing_postcode"]=>
  string(6) "123123"
  ["billing_zone"]=>
  string(2) "31"
  ["billing_zone_code"]=>
  NULL
  ["billing_country"]=>
  string(11) "Deutschland"
  ["billing_country_code"]=>
  string(2) "DE"
  ["billing_address_book_id"]=>
  string(1) "3"
  ["payment_code"]=>
  string(14) "xt_paypal_plus"
  ["subpayment_code"]=>
  NULL
  ["shipping_code"]=>
  string(6) "DHL-DE"
  ["currency_code"]=>
  string(3) "EUR"
  ["currency_value"]=>
  string(6) "1.0000"
  ["language_code"]=>
  string(2) "de"
  ["comments"]=>
  string(4) "test"
  ["last_modified"]=>
  string(19) "2018-04-02 11:40:47"
  ["date_purchased"]=>
  string(10) "02.04.2018"
  ["orders_status"]=>
  string(5) "Offen"
  ["orders_date_finished"]=>
  NULL
  ["account_type"]=>
  string(1) "0"
  ["allow_tax"]=>
  string(1) "1"
  ["customers_ip"]=>
  string(32) "2003:84:af02:e00:5cb9:8cdf:c122:"
  ["shop_id"]=>
  string(1) "1"
  ["orders_data"]=>
  NULL
  ["campaign_id"]=>
  string(1) "0"
  ["delivery_federal_state_code"]=>
  NULL
  ["billing_federal_state_code"]=>
  NULL
  ["delivery_federal_state_code_iso"]=>
  NULL
  ["billing_federal_state_code_iso"]=>
  NULL
  ["authorization_id"]=>
  string(0) ""
  ["authorization_amount"]=>
  NULL
  ["authorization_expire"]=>
  NULL
  ["source_id"]=>
  string(1) "0"
  ["ekomi_success"]=>
  string(1) "0"
  ["ekomi_success_date"]=>
  string(19) "0000-00-00 00:00:00"
  ["ekomi_link"]=>
  string(0) ""
  ["ekomi_hash"]=>
  string(0) ""
  ["mp_transaction_id"]=>
  NULL
  ["orders_source_external_id"]=>
  NULL
  ["order_edit_acl_user"]=>
  NULL
  ["PPP_PAYMENTID"]=>
  NULL
  ["PPP_SALEID"]=>
  NULL
  ["orders_status_id"]=>
  string(2) "16"
  ["orders_status_image"]=>
  NULL
  ["date_purchased_plain"]=>
  string(19) "2018-04-02 11:40:47"
  ["payment_name"]=>
  string(42) "PayPal, Lastschrift, Kreditkarte, Rechnung"
  ["shipping_name"]=>
  string(14) "DHL - National"
}

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...