Citcon

SHOPPING OVERVIEW

Citcon offers a number of endpoints associated with the UPI – API with each one being associated with a particular payment action.

End Point

https://api.citconpay.com/v1/charges/
https://api.citconpay.com/v1

For more details, check out the source code on Github

1. Introduction

Citcon unique omnichannel payment technologies make it easy for consumers to shop seamlessly from online stores, mobile apps, and physical stores at their convenience.
WooCommerce Citcon gateway plugin extends WooCommerce to accept Alipay, WeChat Pay, Union Pay. It provides countless opportunities for delighting shoppers, building loyalty, and increasing revenue.
Accept payments anytime, anywhere. Whether your business runs on desktop or mobile, we’ve got you covered.

2. Integration Guide

This user guide helps WooCommerce merchants connect with Citcon Payment Gateway through the WordPress store admin portal. It also demonstrates how payment and refund work for Alipay, WeChat Pay and China.

2.1. Installation Guide

1) Download latest WooCommerce plugin https://github.com/Citcon/ woocommerce-gateway-citcon/releases.
2) Login to Admin panel and click “Plugins” -> “Add New” -> “Upload Pugin” as shown in the following screenshot.

3) Choose downloaded WooCommerce Citcon plugin .zip file and Click “Install
Now”.

 

4)Activate Citcon Payment Gateway using one of the following two ways
  • Once plugin installed successfully, click “Activate Plugin”.
  • Click “Plugins”. Find CitconPay Gateway for WooCommerce and click
    “Activate”.
5) Click “WooCommerce” -> “Settings” then click “Payments” tab.
6) Find “CitconPay” and click “Manage” button to configure Citcon payment settings.
  • Make sure “Enable CitconPay” is checked and enter Citcon CHOP token in API Token field. Select Test or Live Mode accordingly. Save

Note: CHOP token is a merchant-specific and distributed by Citcon, which is used to authenticate API requests to Cticon API. Please keep the token secure.

  • Enable/disable Specific Payment Method

2.2. Checkout

  1. Add items to the shopping cart, and proceed to checkout
  2. Under CitconPay, choose Alipay, WeChat Pay or Union
  3. Click “Place Order”, one of the following page will show up
    • If you select AliPay or WechatPay, then page will show QR code
  • If you select Union Pay,then page will show
    • Use Alipay/WeChat mobile app to scan the above QR code on the screen or type credit card on the Union Pay payment page.
    • Once payment is finished, either order confirmation or order failure page will be displayed.

2.3. RefundLogin to admin panel.

  1. Click “WooCommerce” -> “Orders”.
  2. Click the order which you want to refund
  3. Click “refund”
  4. Type refund amount, then click “refund”
  5. Click “OK” in popup If the refund is successful, the website will display a refund confirmation page.

3. FAQ

3.1. Re-order Payment Methods

In function payment_fields in woocommerce-gateway-citconpay.php file, change payment method list items order to re-order them.

3.2. Configure Default Payment Method

In function payment_fields in woocommerce-gateway-citconpay.php file, add checked=“checked” to the default payment method list item.

3.3. Configure Currency

If the system reports “Currency is not supported” message after enabling the Citcon payment, go to general and change currency to the value that’s associated with the

DOCUMENT CHANGE RECORD

 

Ver

Date

Affected parts

Document type

Prepared By

1.0.0

12-20-2019

All

New feature explanation

Elle

1.0.1

3-3-2020

Introduction, II/5, II/6

Refer to notes in page 2 under “Change notes from v1.0.0 to v1.0.1”

Haixin

1.0.2

3-3-2020

 

Adding CAD

Jeff

1.03

9-20-2020

I

Remove private link invitation

Elle

Change notes from v1.0.0 to v1.0.1
  1. Update introduction to include mobile experience
  2. Update Section II – point 5 & point 6, adding UnionPay payment method
This is a user guide to help Shopify merchants connect with Citcon payment Gateway through its store admin portal. It also shows how payment and refund transactions, through ALP/WXP or credit card networks can be processed. Merchant can use it as a reference when testing out the end to end transaction flow.   All features are compatible with both laptop and mobile experiences.

I . How to configure Citcon gateway in Shopify dashboard:

  1. Open shopify admin panel in your browser
  1. Choose your store, key in credentials to login if not logged in yet

3)Choose Payment providers; from Setting page:

4)Choose alternate payment methods ; from the payment provider page:

 

5) Choose <alternate payment methods> from the payment provider page:

  1. Fill <User Login> and <Citcon CHOP token>

 

  • User login: merchant email associate with the Citcon merchant account

 

  • Citcon CHOP token: CHOP token configured by Citcon
  • Payment methods: merchant should choose only the payment types they contracted to accept through the Citcon gateway
  • Enable or disable test mode and activate payment
  • Noted: to accept Credit Card network transaction, merchant need to be on-boarded with Elavon with it’s CHOP token correctly configured by Citcon merchant tech team
  • After Merchant correctly configures their shopify admin portal, merchant can proceed to test out checkout flow by following the below instructions. Because this Shopify plugin has been tested merchants may go direct to production. If the merchant receives the following message during

    checkout contact support@citcon-inc.com as additional configuration ot troubleshooting is required.

II. Consumer checkout experience:

  1. Adding items to your shopping cart from your store page:

2)  Confirm contact & shipping information:

3. Choose a shipping method:

4. Choose a billing address (by default it’s the same as shipping address):

Noted, if merchant only chose to accept ALP/WXP through Citcon, the payment method will only show ALP/WXP here.

    1. Complete order to bring up Checkout page: Click on payment method logo to proceed

     

    • Amount in USD or CAD: the amount of order to be paid
    • Company name: the merchant name set up by Citcon
    • Order ID: Order reference # created by It is the unique identifier for this order
    • Payment type: will show accordingly based on merchant selection

     

    Note: The transaction currency for the demo below is USD. If the transaction is conducted with CAD, the currency type on the UI will be adapted.

     

    For example, ‘Amount in USD’ will be changed to ‘Amount in CAD’; ‘USD to RMB Exchange Rate’ will be changed to ‘CAD to RMB Exchange Rate’, and so on.

     

    If all payment method are selected: For USD transaction:

For CAD transaction:

If only ALP is selected: For USD transaction

For CAD transaction:

If only WechatPay and UnionPay are selected: For USD transaction:

For CAD transaction:

6. After choosing the payment type, the consumer will be redirected to the Citcon CHOP page to complete the transaction:

– Choose ALP to checkout For USD Transaction:

For CAD transaction:

  • Choose WXP to checkout For USD transaction:

For CAD transaction:

  • Choose Credit Card to checkout
  • Choose UnionPay to checkout
For USD transaction:
  • For CAD transaction:

7. Payment success page, choose “continue shopping” to go back to home page:

8. If the merchant doesn’t have a CHOP account with Citcon or the token information is wrong, the following page will be brought up.
9. If the transaction failed by any reason, the following page will show up to notify the consumer. Consumer will need to go to the checkout page again, resubmit payment request and finish transaction from there.

– Merchant Refund flow

Option #1: Through Shopify admin portal

1. Open under Orders tab, then select the order you want to refund:

2. Click on order to go to order detail page, choose refund button:

3. Confirm the amount you want to refund to this order:

4. Back to page, the order status will change to refund or partial refund based on the refund amount submitted:
5. When refund is successful, the consumer will receive a confirmation through the email that he/she left as the contact method. For USD refund transaction:
For CAD refund transaction:

Option #2: Through Citcon Dashboard

Once a merchant is successfully on-boarded, Citcon will create a dashboard account for the merchant. Merchant can login to the dashboard and perform a refund from there.

After the merchant successfully tests all payment types of transaction & refund, Citcon will issue a production CHOP token to the merchant. Merchant then can use this token to add Citcon gateway in its public store site.

1. Introduction

Citcon is a payment gateway that supports payment methods such as Alipay,
WeChat Pay, and Credit Cards. Citcon offers omni-channel payment solutions
together with fund settlement. For more information, please contact sales@citconinc.com.
Among the many integration patterns of Citcon Payment products, Citcon Online
Hosted Payment (CHOP) is the most convenient for e-Commerce web sites, for its
encapsulation of complex logic and user-facing components of the payment flows.
When integrated with CHOP, consumers from a merchant’s web site are redirected
to the secure and PCI-DSS compliant Citcon CHOP web site to complete payments.
The result of the payments is communicated to merchant in real-time client-side
callback, as well as via asynchronous near-real-time instant payment notifications.
For more details of CHOP, please read https://doc.citconpay.com/citconAPI/#chop.
This document describes how to install Magento payment extension of CHOP into a
Magento 2 deployment.
Important: Citcon payment extension package for Magento 2 supports Magento
2.2.x & Magento 2.3.x and requires PHP version 7.1 and above.

2. Integration Guide

This user guide helps WooCommerce merchants connect with Citcon Payment Gateway through the WordPress store admin portal. It also demonstrates how payment and refund work for Alipay, WeChat Pay and China.

2.1. Information Needed

Citcon payment extension package for Magento
2) A provisioned CitconPay CHOP Access Token (if you don’t have it, please contact sales@citcon-inc.com)
3) A CitconPay CHOP access URL (if you don’t have it, please contact sales@citcon-inc.com)

2.2. Installation

) Log into your hosting space via a FTP client
2) Clear Magento caches via your Magento2 admin panel

  • Uncompress Citcon payment extension package for Magento 2 and upload files to your website server under Magento root code folder app/code/
Note: if you download the extension package from Magento marketplace, please uncompress the files to folder Citconpay/Payments/ and upload the entire folder Citconpay/ to your website server under Magento root code folder app/code/.
Folder app/code/ should look like the following screenshot:

4) Run the following command at the command line under Magento root folder
php bin/magento setup:upgrade php bin/magento setup:di:compile
5) Flush Magento cache as described in step 2.

2.3. Configuration

1) Go to Magento 2 admin panel, select menu Stores -> Configuration -> Sales
-> Payment Methods -> Citconpay Online Payments
2) Configure one of the following Citcon merchant settings
• Sandbox Payment URL and Sandbox API Key

• Live Payment URL and Live API Key Please refer to the following screenshot.

2.4. Citcon Checkout Process – Frontend
Consumers will see Citcon payment methods on checkout page. Depending on Citcon payment configurations, one or more payment methods (WeChat Pay, Alipay or Credit Card) will be displayed. See example below.
2.5. Check Payment Status
At this moment, log into admin portal. Go to Sales -> orders and find your order. Status “Processing” means that the payment goes through successfully.
Click “View ” to see order detail including Citcon CHOP transaction ID as shown in the following screenshot.
2.6. Refund
To refund an order that is paid by CitconPay, follow the normal procedure to create a Credit Memo, and then click on Refund.
It will invoke CHOP API to process the refund, and order will be closed.
    • Use Alipay/WeChat mobile app to scan the above QR code on the screen or type credit card on the Union Pay payment page.
    • Once payment is finished, either order confirmation or order failure page will be displayed.

3. FAQ

3.1. Citcon Payment Debug Log

  • Citcon log file is saved at var/log/citcon.log under Magento root code folder.

3.2. Other Questions

Please contact support@citcon-inc.com
Scroll to Top