AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: hani on June 06, 2019, 02:13:30 AM

Title: 2checkout multistore issue
Post by: hani on June 06, 2019, 02:13:30 AM
Hello

I have a multistore site, the domain https://www.bethlehemcasting.com and subdomain https://wholesale.bethlehemcasting.com for wholesale.

When a sale is made at the main domain and processed with 2checkout the approved URL is correct and the order status is updated from "Failed" to "processing"

When the sale is made on the wholesale site, the subdomain, the order status is not changed although the payment was successful

I am not an expert but I think that this issue is because the approved URL is the same for both the main domain and the subdomain and possibly also i need to configure the approved URL with 2checkout to accept payments from 2 domains, the main domain and the subdomain with 2 different approved URL's

Thanks for the help in advance
Hani
Title: Re: 2checkout multistore issue
Post by: Basara on June 06, 2019, 02:39:30 AM
If you set a multi-store setup you can set different extension settings in your 2checkout or you have to set a redirect for approved url
Title: Re: 2checkout multistore issue
Post by: hani on June 06, 2019, 03:13:57 AM
Thank you for your prompt reply

Let me see if i understood you correctly, You mean that i need to configure 2checkout to the subdomain??

and if so the approved URL for the subdomain will be https://SUBDOMAIN.COM/index.php?rt=checkout/success and the INS URL will be
https://SUBDOMAIN.COM/index.php?rt=extension/2checkout/callback
Title: Re: 2checkout multistore issue
Post by: Basara on June 06, 2019, 03:31:46 AM
So do you have multi-store or one store?
Title: Re: 2checkout multistore issue
Post by: hani on June 06, 2019, 06:22:47 AM
Hi
I have https://www.bethlehemcasting.com/ as the main store and a wholesale store with the subdomain https://wholesale.bethlehemcasting.com/ note the word "wholesale" in the begining

Hani