Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 02/27/2020 in all areas

  1. 1 point
    mhsuffolk

    Stripe v3 module for SCA

    That appears to have worked. I cannot test it fully yet as the webhook cannot respond to my XAMPP test store and fails. The emails send correctly. I cannot update my live 1.0.5.0 store to 1.0.5.1 until most of my addons have been updated.
  2. 1 point
    So then just scroll down to this sectinon and follow instructions. https://developer.paypal.com/docs/payflow/integration-guide/configure-hosted-checkout/#hosted-pages-and-mobile-browsers
  3. 1 point
    JcMagpie

    NEW! Complete Order Editing Tool!

    @Fredi I have found that many of the notices and warnings are being caused by code relating to no Ajax code. in edit_orders.php look for this code it's in more than one place. <div class="update5" align="center"><?php echo tep_image_submit('button_update.gif', IMAGE_UPDATE); ?></div> The "temp_image_submit " function is missing, so just replace with normal button and you will see quite a few notices and warnings will disappear.
  4. 1 point
    BrockleyJohn

    NEW! Complete Order Editing Tool!

    @Fredi you don't need to fix the order_total errors directly, you need to comment out the requires in edit_orders.php and edit_orders_ajax.php: edit_orders line 595, edit_orders_ajax 298 //this is where we call the order total modules // require( 'order_editor/order_total.php'); $order_total_modules = new order_total(); and to show what is happening you can delete the file admin/order_editor/order_total.php - you are actually using the class file for order_total from the catalog side of your shop (new Phoenix class autoloader)
  5. 1 point
    ecartz

    Stripe v3 module for SCA

    Or actually, remove the entire build email step // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $order_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link('account_history_info.php', 'order_id=' . $order_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; if ($order->info['comments']) { $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i = 0, $n = sizeof($order_totals); $i < $n; $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_format($order->delivery['format_id'], $order->delivery, false, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_format($order->billing['format_id'], $order->billing, false, '', "\n") . "\n\n"; $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $email_order .= $this->title . "\n\n"; if ($this->email_footer) { $email_order .= $this->email_footer . "\n\n"; } tep_mail($order->customer['name'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } and replace it with tep_notify('checkout', $order); as done in PayPal or in checkout_process.php.
×