Skip to main content

V3 - 2c2p Integration

Updated over a week ago

Index

Introduction

Integration with the payment provider 2C2P allows clubs that operate with this gateway to offer secure and efficient online payments.

In addition, it is possible to save cards for future payments and process refunds directly from Golfmanager.

This integration is particularly useful in markets such as Asia, where 2C2P is one of the leading providers.

To enable the integration, you need to install the corresponding module, payment2C2P. For more information on purchasing and downloading this module, please contact our support team.

Initial configuration

Production Mode

  • Checked: Production Mode (live data).

  • Unchecked: Testing Mode.

Merchant ID

  1. Log in to your 2C2P account.

  2. From the Options menu, navigate to Merchant Information.

  3. Copy the Merchant ID value.

Currency

Define the currency that will be used for transactions.

Default: THB

Merchant SHA Key (Secret Key)

  • Test:

    1. Log in to your 2C2P account.

    2. From the Options menu, go to Merchant Keys (Secret Key).

    3. Copy the value of the Test SHA Key.

  • Production:

    Repeat the same process, but using the Production SHA Key.

Certificate Key

  1. Log in to 2C2P.

  2. From the Options menu, navigate to 2C2P Public Keys.

  3. Download the certificate file and upload it to your settings in Golfmanager.

Private Key

Upload the privatekey.pem file, previously generated in the SSH key creation step, to Golfmanager.

Using the integration

Online payments

When making a purchase, the customer can pay directly through 2C2P.

Save card

The customer can select the option ‘Save card for future use’.

  • This generates a customerToken linked to the customer.

  • You can view it in Golf Manager > 2C2P > Customer Token.

Refunds

  • Cancellation from the customer portal:

    The booking is cancelled immediately, but the refund is processed automatically by our scheduled task (cron job) every 12 hours.

  • Cancellation from the internal booking view:

    As with the portal, the booking is cancelled instantly, and the refund is processed later with the 12-hour cron job.

  • Cancellation from POS:

    The behaviour remains the same as before, with no changes.

Transaction review

Go to Golf Manager > 2C2P > Transactions to view the transaction history.

Benefits

  • Secure and fast online payments.

  • Option to save cards for future payments.

  • Compatible with automatic refunds from bookings or sales.

  • Native integration with the Golfmanager operating environment.

  • Ideal for clubs that operate with THB or other currencies configured in 2C2P.

Did this answer your question?