Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Purchase without account


girolimoni

Recommended Posts

Hello to all :)

 

We're using the PWA addon and noticed, that the customers got in their oder confirmation email the link to their order. If you ordered as guest there is no sense to get this link. so we managed to avoid to insert the link in checkout_process.php. Unfortunately we didn't manage it with the paypal ipn contribution in the ipn.php file.

 

the following code doesn't work there :(. Any help?

 

Thanks and greetings

 

      if ($order->customer['is_dummy_account']){
 $email_order .= EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
     } else {
 $email_order .= EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $_POST['invoice'], 'SSL', false) .  EMAIL_TEXT_LINK_LANGUAGE . "\n" .
                 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
     }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...