Language:


Webshop - Checkout and Payment - Payment by Paymark

This page describes paying for webshop sales using Paymark. All the settings and registers mentioned on this page are located in the Webshop and CMS module unless otherwise specified.

---

Paymark is an online payment gateway that you can use to receive payments made through the webshop. Paymark can only be used in New Zealand. If you would like Customers to be able to pay for webshop sales using Paymark follow these steps:

  1. Register for the Click eCommerce service with Paymark.

  2. Change to the Webshop module (not the Webshop and CMS module) or the Point of Sales module and create a record in the Merchant ID setting in which the Partner is "Paymark":

    Choose the Live option when you are ready to receive payments from Customers through the webshop.

  3. Create a record in the Payment Gateways setting with a Code and Comment and filling in the fields described below. Again, this setting is located in the Webshop module and in the Point of Sales module:

    Misc Card

    Account No./Phone No.
    Enter your Paymark account name in this field.

    Currency
    Paste Special    Currency register, System module
    Specify the Currency that will be used for Paymark payments. In order for the Currency Code to be recognised by Paymark, you must use a three-character Currency Code that follows the ISO 4217 standard. A list of ISO 4217 Currency Codes can be downloaded from https://www.currency-iso.org/en/home/tables/table-a1.html.

    Merchant ID
    Paste Special    Merchant ID setting, Webshop module/Point of Sales module
    Use this field to connect the Payment Gateway record to the Merchant ID record from step 2.

    Type
    Select the Web option.

    SOP Card


    Enter your Paymark account id and access key in the Profile ID and Access Key fields respectively. You must also fill in the Key Created Date and Key Expiry Date fields before you can save the Payment Gateway record. Enter the current date or an earlier date as the Created Date and a future date as the Expiry Date.

  4. Change to the Webshop and CMS module and add a record to the Web Payment Methods setting in which the Method is "Paymark":

    The existence of this record will add the option to pay by Paymark to the webshop checkout page. By default, the option will be named "Pay with Paymark" (Web Text 25543). Fill out the fields as follows:

    Pay Term
    Paste Special    Payment Terms setting, Sales/Purchase Ledger
    You can specify using the Create after Payment options (step 5 below) that successful Paymark payments will cause the creation of Invoices and/or Orders in Standard ERP. Specify here the Payment Term that is to be used in those Invoices and Orders.

    As the payments will have been successful, this should usually be a Payment Term whose Type is "Cash".

    Pay Mode
    Paste Special    Payment Modes setting, Sales/Purchase Ledger
    If you specify using the Create after Payment options (step 5 below) that successful Paymark payments will cause the creation of Prepayment Receipts in Standard ERP, specify here the Payment Mode that is to be used in those Receipts.

    If successful payments will cause the creation of Invoices only, each Invoice will include a row recording the payment. The Payment Mode in this row will also be taken from this field.

    Element
    Paste Special    Element register, Webshop and CMS module
    If you would like some explanatory text and/or images to appear next to the "Pay with Paymark" option on the webshop checkout page, create an Element and connected Translation(s) for the explanatory text and then enter the Code of that Element in this field.

    Classification, Exclude Classification
    Paste Special    Contact Classifications setting, CRM module
    These fields allow you to make the Paymark payment method available to specific Customers. Enter a Classification to make it available to Customers with that Classification, and/or an Exclude Classification to deny it to Customers with that Classification. If a Customer has both the Classification and the Exclude Classification, the Exclude Classification will take priority and so Paymark will not be available. You can enter several Classifications separated by commas in both fields: only one of those Classifications has to be matched to one of the Customer's Classifications for Paymark to be made or not made available.

  5. Please refer to the Checkout - General Payment Options page for details about the fields and options in the Webshop Company Settings setting that are used with every payment option. The Create after Payment options in this setting will be used with Paymark payments.

  6. If you need confirmatory emails to be sent to Customers, please refer to the Email Confirmations page.
When a Customer selects the "Pay with Paymark" option (Web Text 25543) 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. The Customer will be taken to the Paymark website where they can pay.

  3. Depending on the Create after Payment option that you selected in the Webshop Company Settings setting an Invoice, an Order and Invoice or an Order and Receipt will be created, with details taken from the relevant record in the Webshop Baskets setting and the Webshop Company Settings setting.

  4. If you followed step 6 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.

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

  6. The record in the Payment Sessions setting will be marked as Completed. It will not be marked as Completed if there was an error in the creation of the Order, Invoice or Receipt e.g. If you selected "Create Order and Receipt" as the Create after Payment option and the Prepayment Receipt was not marked as OK because the On Account option has not been selected in the Contact record for the Customer.

  7. The user in the browser will be taken back to the webshop, where they will be shown the following Web Text:

    Default TextWeb Text Code
    Payment completed successfully25409

---

The Webshop in Standard ERP:

Go back to: