i was wondering if anyone has successfully implemented 2Checkout with a shopping cart. Mine is http://www.comersus.com
i liked the fact that it doesn't require a merchant account.
thank you.

Dani AI

Generated

A short, practical Comersus + 2Checkout (2CO) primer to expand the thread: asked whether 2Checkout can be used with Comersus and correctly noted it’s possible. The posts here lacked a clear, step‑by‑step checklist and modern webhook/validation notes; the following fills that gap and ties into the Comersus BackOffice flow and 2Checkout’s current Webhooks/API model.

Essential integration checklist (Comersus): obtain the 2Checkout Store/Seller ID and an INS/Secret Word; copy the Comersus gateway files comersus_gateway2Checkout.asp and comersus_gateway2CheckoutOrderConfirmation.asp into the store folder; create a BackOffice payment method whose redirection URL is comersus_gateway2Checkout.asp; set p2CheckoutSID to the Store Number; in the 2Checkout control panel configure the Return/Approved URL to point at the OrderConfirmation script and enter the same Secret Word; paste that Secret Word into Comersus p2CheckoutHashWord. These steps enable immediate checkout and (with passback) automated digital delivery. (manualzilla.com)

Key modern checks and common pitfalls: enable the Redirect/“Enable return after sale” and the Instant Notification (INS/IPN) Global URL in the 2Checkout (Verifone) Dashboard → Integrations → Webhooks & API; choose Header Redirect or Link-in-Thank-You-Page per Comersus flow; confirm the INS endpoint and secret/key in both systems and pick the current hash algorithm (MD5 legacy → SHA2/SHA3 recommended). Typical failures come from secret/hash mismatches, demo/test-mode flags, session/id differences on return, or wrong redirect mode — the Merchant Dashboard provides webhook logs and a resend/debug tool. (verifone.cloud)

Minimal verification pattern (pseudo‑code) — build the HMAC source string exactly in the parameter order, prepend each value’s byte length, HMAC with the Secret Key using the selected algorithm, then compare to the hash/ipn_hash field in the POST:

payload = read_post_params_in_exact_order()
source = concat(length(param) + param_value for each param)
signature = HMAC_SHA256(source, SECRET_KEY)
if signature == received_hash:
    mark_order_paid()
else:
    log_and_ignore()

See 2Checkout’s IPN/INS code samples for exact ordering, multibyte-length rules and sample code. (verifone.cloud)

A few practical notes that respond to earlier comments: the thread’s worries about support and breakage from old reports are understandable — 2Checkout was acquired by Verifone and documentation/controls moved into the Verifone developer portal, where webhook/hashing controls and retry tools are now exposed; logging and using the sandbox/test endpoints (or demo flag where appropriate) reduces surprises when enabling passback/digital‑goods delivery. For Comersus-specific configuration and the exact file names/settings referenced above, consult the Comersus user guide and 2Checkout’s Webhooks/API docs. (blog.2checkout.com)

Recommended Answers

All 5 Replies

If you do a quick search on daniweb or google, you will find a lot of negative comments about 2CO. This is particular to seller selling e-products. I do not integrate 2CO to my sites because of this. If 2CO is your only choice, they do provide their own shopping cart.

Yes, it is possible to integrate 2CO with Comersus. Are you using their free cart or their pro package?

Well, I have integrated 2CO on 3 of my websites. It is true that they suck. Their support is horrible. My scripts broke many times because they made changes and did not bother informing their customers.

Can someone give me directions ho to integrate my site with 2CO??
What are the steps that I need to take?

Can someone give me directions ho to integrate my site with 2CO??
What are the steps that I need to take?

I think better to consult the support department of 2CO or a programmer can do that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.