WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Data submitted in checkout page remains after purchase

[Resolved] Data submitted in checkout page remains after purchase

  • Marypop
    Participant

    @marypop

    wp-e-commerce version: 3.8.13.4

    Any idea how to clear all data that customer has submitted in checkout form?

    When I make an order and after that I go back to webshop page and add to cart something and go to checkout page… tadaa, there is all data refilled in form. So if I’m on public computer, next one can see my info (name, postal address, email and phone).
    That’s terrible.

    How to fix this?

    https://wordpress.org/plugins/wp-e-commerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Marypop
    Participant

    @marypop

    Okay, I assume this has something to do with browser caching.
    But anyway, all data have to be cleared for security sake.
    Hope somebody can help me.

    whitelamp
    Participant

    @whitelamp

    It’s held as session data (not in the browser cache) and this is pretty normal behaviour for a cart. A public computer (in a library or whatever) *should* be set to restart the browser (i.e. clear the session) when the current user logs out.

    Marypop
    Participant

    @marypop

    Okay, thank you about session info.

    But I’m sorry, there are not such thing as current user in the shop. If you mean that the user is logged in. It’s not possible to log-in at all. All purchases is made without logging in.

    So the session must be clared someway in transaction page?

    Plugin Author Mihai
    Participant

    @misulicus

    I believe the session (customer information) is preserved to make it easier for the customer IF they buy something else from the store (personal info already prefilled) and if they register the info will be automatically “moved” to their newly registered profile.

    Marypop
    Participant

    @marypop

    Okay, I understand the purpose of session behaving.
    But does anybody now how to clear the data?

    whitelamp
    Participant

    @whitelamp

    When I said “current user” and “logged in” I meant logged in to the computer, not the website.

    I guess it would be possible to modify the gateway code to clear the session, or possibly even write a plugin that would hook into the transaction results to do this regardless of gateway.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Data submitted in checkout page remains after purchase’ is closed to new replies.