Jump to content


Member Since 08 Jul 2015
OFFLINE Last Active Apr 21 2017 21:48

Topics I've Started

Question to orders in XML

11 October 2016 - 12:52

Running OsC 2.3.4


What file is generating/converting orders to XML-data/files?


Background: we fetch the order data in our CMS-system. That has been working out-of-the-box. Due to heavy tests and changes in the shop, it's not working anymore. Orders are generated but our CMS receives no data. And unfortunately - no errors on the server side, and no errors on the CMS-side.


Has anybody a hint for me where to investigate?


Thank's for any reply.


PayPal Standard - double login

10 October 2016 - 10:11

Running Osc 2.3.4


Testing PP Standard with my sandbox. Location is Germany.


Right now I'm running in a double login for PayPal Standard.


UTF8 not working, redirection to checkout_process.php/checkout_success.php, meaning back to the shop, results in an error: could not verify transaction....


Can anybody confirm?


Update: sometimes the transaction works, sometimes not. UTF8 not working at all.


Is PayPal under construction? Are they changing things?



PayPal Standard - UTF8 not working

10 October 2016 - 08:08

Running OsC 2.3.4.


I feel a little bit lost. In my pp standard-account I configured UTF8 charset. Testing a transaction with the sandbox the encoding does not work, but the transaction is running through without errors.


Following the fix posted from gergely for paypal_standard.php:


      $process_button_string = '';
      $parameters = array('cmd' => '_cart',
                          'upload' => '1',
                          'item_name_1' => STORE_NAME,
                          // UTF8-FIX
                          'charset' => 'UTF-8',
                          'shipping_1' => $this->format_raw($order->info['shipping_cost']),
                          'business' => MODULE_PAYMENT_PAYPAL_STANDARD_ID,
                          'amount_1' => $this->format_raw($order->info['total'] - $order->info['shipping_cost'] - $total_tax),
                          'currency_code' => $currency,
                          'invoice' => substr($cart_PayPal_Standard_ID, strpos($cart_PayPal_Standard_ID, '-')+1),
                          'custom' => $customer_id,
                          'no_note' => '1',
                          'notify_url' => tep_href_link('ext/modules/payment/paypal/standard_ipn.php', '', 'SSL', false, false),
                          'rm' => '2',
                          'return' => tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'),
                          'cancel_return' => tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'),
                          'bn' => 'OSCOM23_PS',
                          'paymentaction' => ((MODULE_PAYMENT_PAYPAL_STANDARD_TRANSACTION_METHOD == 'Sale') ? 'sale' : 'authorization'));

results in the correct encoding, BUT - the transaction results in a "could not verify error".


Thank's for any help - I will not be able to use PP without correct UTF8 encoding.



PayPal Standard - attachment email confirmation

09 October 2016 - 21:48

Shop is running on OsC 2.3.4.


I'd like to attach a file to the email confirmation from Paypal Standard.


For prepayment module I added to the catalog/checkout_process.php:


//  tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); //

    $file = (DIR_WS_LANGUAGES . $language . '/agb.pdf'); tep_mail_attach($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $file, 'agb.pdf', 'application/pdf');

Which I found somewhere in the forum, can't remember where and who. Thank's anyway, this is working like a charm.


I assume I have to alter/change the code in catalog/includes/modules/payment/paypal_standard.php to attach a file if a customer pays with paypal.


I tried this but right now the file is attached but has always "0" bytes.


Thank's for any reply,


BUG in PayPal Express - OsC 2.3.4

09 October 2016 - 08:29

Good day,


not quite sure, but I'd like to report a bug for the paypal express module.


Payment adress is overwritten with the shipping adress.


The result is seen in the confirmation email as well as in the customer order history.


All tested in the pp sandbox.


I'd like to know if anybody can confirm this. And if so, is there a solution or a workaround. As long as this is not fixed, I'm not able to run a shop with pp express.


I can provide any information needed to dive in this issue. If I'm wrong I'd like to know where to investigate.


Thank's for any reply,