Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8825249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:49:55+00:00 2026-06-14T06:49:55+00:00

Consider the scenario: on an e-commerce website, for some reason, some users failed to

  • 0

Consider the scenario: on an e-commerce website, for some reason, some users failed to complete their order after filling in all the information necessary (“only” the payment is missing).

In order not to lose their custom, the website wants to send to each of these users a reminder e-mail within 24 hours, with a summary of their order and a PayPal link that will allow them to complete the transaction.

  • how could this link be constructed?
  • what gotchas could there be?
  • how would this link be processed?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:49:56+00:00Added an answer on June 14, 2026 at 6:49 am

    A plain e-mail is not the securest place, so I’d advise against just placing in it:
    – a PayPal link
    – full orders details

    But what you can do is to store all information about the session and retrieve it through a “simple link” to your secure application, which could then generate a new Paypal transaction page:

    <a href="https://yourapp.com/retrieve-transaction?id=ENCRYPTED_ID">...</a>
    

    You’d need to require user login after clicking on the link. Even if the transaction itself would not be at risk (independent payment is required), the link itself would expose the transaction content; think medicine or other sensitive or confidential purchase. For the same reason you don’t want to put these details in the mail, you don’t want them to be accessible just by clicking.

    Then, you’d create a valid session from the login, and that would give access to account information, order history and so on. By adding the information from the ENCRYPTED_ID, you could inject into the session all the information from the “frozen” purchase session.

    Now you have everything needed to re-create a quick-order page, with a PayPal link.

    Last, you should provide for link invalidation after a preset time and after transaction completion as well, in case the user (or someone else) clicks again on the same link.

    Possible workflow

    • You prepare the “frozen session” before the first Paypal link proposal
    • If the payment gets through, you delete the frozen session

    • Every hour (say), you check if there are outstanding frozen sessions older than 48 hours. These are expired and you delete them.

    • If there are other sessions older than 24 hours, but newer than 48, that have no “Sent mail!” flag, you send the e-mail with a link to that session, and set the flag.

    • On receiving a click on that link, you request a login (and remind that if the link is older than 24 hours, it’s not going to work).

    • On successful login, check whether the session exists.
    • If not, “sorry that’s expired – would you like to resume shopping?”
    • If it exists, re-generate the order page and go back to the beginning of the list. True, this way if you click on the link, do not pay, and go away, another email will be sent to you — but you need to do that on purpose. If the possibility of abuse (e.g. annoy someone whose password is known to me) bothers you, add a counter to the frozen session (“This is the third time you reopened this order. To avoid potential abuse, we’re not going to send you any more reminders”). Unless you sell treatment for thoughtlessness or transient amnesia, of course.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this scenario. I have my own website, that I use as my identifier,
Consider my scenario of a model consisting of two aggregate roots, Customer and Order
Consider this scenario. I have some business logic that now and then will be
Lets consider next scenario: assume I have a web app, and authentication of users
Before I ask my question, please consider this scenario: a user on my website
i have trouble with building some projects. please consider this scenario: i have 2
Consider this scenario: <asp:CheckBoxList> in a master page. the goal is to have all
Consider the scenario: I visited a page of a website built using ASP.NET. The
Consider this scenario: You want to send some data to the client in JSON
Consider this scenario: You have a textbox in which you have to write some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.