Language:


Webshop - Checkout and Payment - Payment by Sales Order

This page describes paying for webshop sales through the creation of Sales Orders. All the settings and registers mentioned on this page are located in the Webshop and CMS module unless otherwise specified.

---

If you would like Customers to be able to register webshop sales as Sales Orders in Standard ERP, follow these steps:

  1. Create a record in the Web Payment Methods setting in which the Method is "Order". Specify the Payment Term that is to be used by default in such Orders:

    The Payment Term will be used when an Order is placed by a Customer whose Contact record does not have a Sales Pay. Term.

    Subject to point 4 below, the existence of this record will cause an "Order on Invoice" option to be added to the checkout page in the webshop ("Order on Invoice" is Web Text 25523):

  2. If you would like some explanatory text and/or images to appear next to the "Order on Invoice" option, create an Element and connected Translation(s) for the explanatory text:

    Specify the Element in the Web Payment Method record:

    The text and/or images in the Translation will appear next to the "Order on Invoice" option on the checkout page:

  3. Please refer to the General Payment Options page for details about the fields and options in the Webshop Company Settings setting that are used with every payment option.

  4. As mentioned in step 1, the existence of a record in the Web Payment Methods setting in which the Method is "Order" will cause an "Order on Invoice" option to be added to the checkout page in the webshop. If you need exceptions (for example, you only offer the "Order on Invoice" option to particular Customers, or you do not want to offer this option to particular Customers), create a record in the Display on the Web setting in which you have selected or not selected (as appropriate) the Order option and assign that record to the relevant Contact records or Customer Categories. If you select the Order option, specify a Payment Term and an Info Element as described in steps 1 and 2:

  5. Please refer to the Checkout - Email Confirmations page if you need confirmatory emails to be sent to Customers who place Orders through the webshop.
When a Customer selects the "Order on Invoice" option (Web Text 25523) on the webshop checkout page and presses the [Buy] button (Web Text 25542), the consequences in Standard ERP will be as follows:
  1. A record will be created in the Payment Sessions setting:

  2. An Order will be created, with details taken from the relevant record in the Webshop Baskets setting:

    The Salesman and Location will be taken from the Webshop Company Settings setting, and the Order will be marked as OK if you have not selected the Don't OK Orders after payment option in the same setting. The Order Class in that setting or "WEB" if blank will be copied to the Order Class field in the Order. If you have not specified an Order Class in the Webshop Company Settings, be sure to add "WEB" as an Order Class to the Order Classes setting because otherwise the Order will not be marked as OK as part of the process, and you will not be able to save changes to the Order without changing its Class.

  3. If you followed step 5 above to configure the sending of confirmatory emails to Customers, an email will be sent. If you based the email on a Customer Letter, it will not appear in anyone's Mailbox in Standard ERP, but it will be visible in the Email Queue in the Email and Conferences and Technics modules. If you based the email on Standard Texts, it will be visible in the Admin Mailbox (as specified in the Mail and Conference Settings setting). If you are using the Lock and Send emails Automatically option, it will be sent to the Email Queue automatically.

  4. The record in the Webshop Baskets setting will be deleted.

  5. The Order Number will be copied to the Payment Session record from step i, which will also be marked as Completed.

  6. In the browser, the user will be taken to /Webshop_App_Web_structure_name/payment/complete/order/order_number (e.g. http://domainname/shop/payment/complete/order/19001), where they will be shown the following Web Texts:

    Default TextWeb Text Code
    Order placed successfully25425
    Click here to see your order25410

    The Customer can follow the "Click here to see your order" link to download a PDF version of the Order. This will be created using the usual Form Template that you have assigned to the Order Form using the 'Define Form' function.

    If there was a problem creating the Order, the user will be shown Web Text 25020 ("Payment failed") as an <h1> headline, followed on the next line by one of the following Web Texts:

    Default TextWeb Text Code
    Could not create a Payment Session25022
    You must be logged in to checkout and pay. Please log in and try again. 25023
    An unknown error occurred during payment25019

    25019 will be displayed if an Order cannot be saved (e.g. there is a problem with Number Series).

    The record in the Webshop Baskets setting will not be deleted if there is an error.


The Webshop in Standard ERP:

Go back to: