Community Forum

If you have questions about my software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. I do my best to answer promptly but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with me and I`ll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. I don't have a translator and I'll be unable to understand your message properly and will probably delete it.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable and must be copied / pasted into your browser address bar.

You are not logged in.

#1 zeldalee 18-05-2021 13:10:09

Hello David,
I am trying to add product to cart to do a test to see if the cart is working right.  I click on add to basket but nothing get added.  The square icon just spins.
I am wondering.  I am also trying to set up my payment gateway which is PayPal and the docs set up instructions don't match PayPals so having a hard time setting this up.  I need your help please.
Zelda

#2 msworld 25-05-2021 01:41:09

For the spinning issue, are there any errors in the logs folder? Are you running the system on PHP7.4 or 8.0? You'll need 7.3 if you are. Support for 7.4 and 8.0 is on the way.

I am also trying to set up my payment gateway which is PayPal and the docs set up instructions don't match PayPals

Yes, unfortunately the gateways keep changing their pages and layout. The setup will be the same as here:
https://www.jotform.com/help/276-how-to-enable-ipn-on-your-paypal-account

Actually the Maian Pal docs are correct but getting to the IPN settings is different. So, follow the video above, but enter the Maian Pal callback url as mentioned in the Maian Pal docs. Example:

https://www.example.com/store/control/callback.php

If the IPN system is already active, you don't need to do anything.

#3 zeldalee 19-07-2021 00:38:12
msworld wrote:

For the spinning issue, are there any errors in the logs folder? Are you running the system on PHP7.4 or 8.0? You'll need 7.3 if you are. Support for 7.4 and 8.0 is on the way.

I am also trying to set up my payment gateway which is PayPal and the docs set up instructions don't match PayPals

Yes, unfortunately the gateways keep changing their pages and layout. The setup will be the same as here:
https://www.jotform.com/help/276-how-to-enable-ipn-on-your-paypal-account

Actually the Maian Pal docs are correct but getting to the IPN settings is different. So, follow the video above, but enter the Maian Pal callback url as mentioned in the Maian Pal docs. Example:

https://www.example.com/store/control/callback.php

If the IPN system is already active, you don't need to do anything.

Hello David,
Sorry for the very long delay.  I do have errors on the errors log.  I didn't post because I need to know is that okay to do?
Thank you
zeldalee

#4 zeldalee 19-07-2021 02:21:05

Hello David,
I had a look at the video.  Thank you .  I also updated the php to php7.3.29 but still not able to add product to cart or even open the basket.  IPN was already enabled as I have another site using Maian Cart 3.8 now.  Site is still not able to test a purchase using sandbox.
Zeldalee

#5 msworld 20-07-2021 07:24:42

Do you have a url so I can see it not working?

#6 zeldalee 25-07-2021 18:22:47
msworld wrote:

Do you have a url so I can see it not working?

Hi David,
Here is the URL
https://www.jewelsohyes.com

zeldalee

#7 magiccardpops 25-07-2021 22:20:07

Maybe an "Access-Control-Allow-Origin" issue ?
Like a site using "www" to access one not using "www" or vice versa.

#8 zeldalee 26-07-2021 23:16:35
magiccardpops wrote:

Maybe an "Access-Control-Allow-Origin" issue ?
Like a site using "www" to access one not using "www" or vice versa.

Hello,
please explain what you mean?  If I go to the site just using the domain name .com it just reverts to www.
Thank you
Zelda

#9 magiccardpops 27-07-2021 03:21:02

Hello -

The javascript message in the browser that shows the error is:

Access to XMLHttpRequest at 'https://jewelsohyes.com/index.php?ajax-ops=add&id=77' from origin 'https://www.jewelsohyes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

So, it looks like a "www" address from the origin "https://www.jewelsohyes.com" is trying to access a non "www" site at "https://jewelsohyes.com/index.php?ajax-ops=add&id=77"

Might be related to how your .htaccess file is setup?

David can probably shed more light on this.

#10 msworld 27-07-2021 04:52:34

Thanks Magiccardpops. smile

Yes, the issue is as mentioned above. The site is forcing www, but in your settings you don't specify www. You need to go into your Maian Pal settings and change the path from:

https://jewelsohyes.com/

to

https://www.jewelsohyes.com/

And that should fix the problem.

#11 zeldalee 28-07-2021 00:04:51
msworld wrote:

Thanks Magiccardpops. smile

Yes, the issue is as mentioned above. The site is forcing www, but in your settings you don't specify www. You need to go into your Maian Pal settings and change the path from:

https://jewelsohyes.com/

to

https://www.jewelsohyes.com/

And that should fix the problem.

Magiccardpops, that worked a treat for me and my site.  This is a first for me after being online since 2000.
Thank you, smile
zelda

#12 magiccardpops 28-07-2021 01:28:49

You are welcome.  Happy selling.

#13 msworld 28-07-2021 05:21:44

Glad you got it sorted. smile

Board footer

Maian Script World - Free PHP Software for Personal or Business Use.
© 2003-2021 Maian Script World & David Ian Bennett.

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World

Free PHP Software / Responsive PHP Scripts / Lightweight PHP Software / White Label PHP Software