Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

eShop 2.0

Asked Modified Viewed 3,988 times
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
asked
Super Admin

[mp]1260[/mp]
0 replies

26 posts

F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

Historically it has worked fine. I do not have any live tests up atm. Try comment the array check out and see if it works.
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Hi again Falk,

I am still having issues with the PayPal IPN, thought I was getting closer but it appears not. I noticed in the logs that the IPA's being used each time were not in the array in the ipnverify.php, so I was adding them to the array each time a new one was used by PayPal. But now I see that even when PayPal are sending from an IPA included in the array eShop is still sending a 500 response after accepting the intial hanshake.

From the raw logs:
66.211.170.66 - - [29/Sep/2022:12:00:37 +1000] "POST /infusions/eshop/paymentscripts/paypal.php HTTP/1.1" 200 13 "-" "Needle/1.6.0 (Node.js v14.20.0; linux x64)"


173.0.81.140 - - [29/Sep/2022:12:00:46 +1000] "POST /infusions/eshop/paymentscripts/paypal_ipnverify.php HTTP/1.1" 500 0 "-" "PayPal IPN ( https://www.paypal.com/ipn )"


And how I added kown paypal IPA's to the array in paypal_ipnverify.php:
//Only allow known Paypal IPテつエs to access this file
if (!in_array($_SERVER['REMOTE_ADDR'],array('216.113.188.202','216.113.188.203','216.113.188.204','173.0.81.140','173.0.81.65','173.0.80.0','66.211.170.66','66.211.168.0','91.243.72.0','64.4.248.0','64.4.240.0')) {
   header("HTTP/1.0 404 Not Found");
   exit();
}


I was wondering should I be doing something in particular with settings or does it usually work with a valid paypal account without too much issues.

As always any help is muchly appreciated.

Jem.
Edited by jemstar on 29-09-2022 03:53,
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
answered
Senior Member

Ok, I'll test it on my one 8 site that I use just for that and see if it works for me.
gene
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

I guess I could if there is a demand, it is actually @ it´s core compatible with both 8 and 9, only infusion.php is not prepared for 8...
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
answered
Senior Member

Falk, will you be porting this to 8.00.100?

Gene
0 replies
— 30 days earlier —
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

yeah you can try to comment it out and see if it works.
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Hi again,

Sorry but I'm not getting much help from PaYPal. While I'm waiting on a response from PayPal I was hoping to confirm a few things with you.
Payments reach PayPal however the invoices show as UNPAID in the eShop orders panel.

I was hoping you could confirm the correct path to suply PayPal for IPN.
I currently have it set to:
https://****net.au/infusions/eshop/paymentscripts/paypal.php
and have tried:
https://****.net.au/infusions/eshop/paymentscriptspay/paypal_ipnverify.php
and also a video said I didn't need a full path and that a home path was fine so also tried:
https://****.net.au/
https://****.net.au/infusions/eshop/

Was also thinking that as website is set to Maintenance Mode that may stop it however have tried it with site open. Also could it be that Australian PayPal IPA is not included in the known PayPal IPA array? I would really appreciate any help.

On another note have been experimenting with the categories and banners and are really liking these features, though whenever I click on the Main Category it creates bool error messages but if I list the errors as Ignored it stops new errors showing on additional clicks so not to worry.

Thanks for your help and providing a great little online shop packed with features!

Jem.

Update:

PayPal have responded that the IPN's are going out to /paypal_ipnverify.php with an HTTP 500 response.
They have also provided a list of further IPA's to add to the known IPA array. I have added them to the array in the paypal_ipnverify.php. However am still not getting through. Should I include the ports by adding :22 etc to the IPA's in the array?
Or is it worth trying commenting the array section out in the paypal_ipnverify.php to see if that is what is blocking the IPN's?
Thanks again.
Edited by jemstar on 05-08-2022 07:52,
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Thanks have tried and still not working but I have had an idea as to why it is not working and will test the theory and let you know,

Thanks for the help.
Jem.
Edited by jemstar on 31-07-2022 13:09,
jemstar attached the following image:
Image not found
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

See in your PayPal account, I found a good guide here : https://www.jotform.com/help/276-how...l-account/

The error you see is just a notice on an empty string. No worries.
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Thanks heaps,

Will just use a flat rate!

Jem.

EDIT:

I looked in settings and IPN was already activated.

Looking in the paypal.php the only similar code was this on line 84 and 85:

if ($pdata['ipn'] == 1) {
   echo '<input type="hidden" name="notify_url" value="'.$settings['siteurl'].'infusions/eshop/paymentscripts/paypal_ipnverify.php" />';


The end of the path is slightly different should I just replace with the code you put above?

I just tried another purchase and definitely not showing as paid and the following error message appears:

421    return $datacatar['cuname'];
Line 421 -- 2 minutes ago
Trying to access array offset on value of type bool


Thanks for your help,

Jem.
Edited by jemstar on 29-07-2022 09:38,
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

You can activate IPN. See the file in paymentscripts/paypal.php

//If we do IPN checks, it will be scrapped first version.
//<input type="hidden" name="notify_url" value="'.$settings['siteurl'].'infusions/eshop/ipnverify.php" />


You need to activate IPN in your paypal account for this to work.

Atm there are no options for percentage.
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Hi again,

I have just been doing some testing of the paypal function and that is working well, though I notice that I have to manually change the order to paid in the settings, I guess when live we match the order to the paypal transactions then change it manually as Paypal doesn't tell eShop if transaction was accepted?

We can live with that unless we are inundated by purchases!! However was wondering in the paypal settings for surcharge we can only enter a dollar amount, Paypal has a surcharge of 2.6% + $0.30, so the more a customer orders the higher the surcharge. I can set a flat rate of $1.00 which would work for 1 item, however if the customer orders multiple items then we lose out. Is there a way to make it a percentage?

Thanks for your help,
Jem.

Web-server software LiteSpeed
PHP version 7.4.30
PHP interface litespeed
MySQL Server version 5.5.5-10.3.35-MariaDB
Database Driver PDOMySQL
PHPFusion version 9.10.20
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Haha thanks so much, worked a treat!

I was looking in settings.php and payments.php and functions.php.

Thanks for the quick help.

Jem.
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

look in the locale folder and open English.php files and you will see it, simply replace all VAT with what you need. Thank You!
0 replies
J
jemstar
J
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Hi,
Just setting up eShop 2.0 atm in Australia. Just wondering if there is a simple way to change/edit VAT to be GST as this is what it is called in Australia. Is it just a matter of editing one of the .php files or database?

Haven't gone live with it yet but so far I'm really liking it's look and easy set up.

Thanks,
Jem.

Web-server software LiteSpeed
PHP version 7.4.30
PHP interface litespeed
MySQL Server version 5.5.5-10.3.35-MariaDB
Database Driver PDOMySQL
PHPFusion version 9.10.20
Edited by jemstar on 03-07-2022 07:30,
0 replies
— 2 months earlier —
S
sala99
S
sala99 10
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 15 threads in the forums
answered
Junior Member

Hey Falk sorry that I'm just now replying Unfortunately, I can only switch down to 7.4 in the php version from the provider

LG sala99
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

I think PHP 7.4 and 8 have same requirement on empty checks. 7.2 should be error free.
0 replies
S
sala99
S
sala99 10
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 15 threads in the forums
answered
Junior Member

Hello Falk

first of all thanks for the quick help

I tried it with php version 7.4 unfortunately the error message appears

I switched back to 8.0

happy easter days
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Started this discussions
  • Answered 12 questions
answered
Super Admin

These are PHP 8+ notices, I need to update the shop for PHP 8. If you can go down in PHP version a tad they will poof.
0 replies
S
sala99
S
sala99 10
  • Junior Member, joined since
  • Contributed 39 posts on the community forums.
  • Started 15 threads in the forums
answered
Junior Member

Good day everybody

server info
Web server software Apache/2.4.53 (Unix)
PHP version 8.0.17

PHP Fusion Version 9.10.20

I'm making a page with the shop for someone

but now the following errors come in the log

File: functions.php
Page: /infusions/eshop/eshop.php?category=1
Line: 1320
Error message: Trying to access array offset on value of type bool

File: functions.php
Page: /infusions/eshop/eshop.php?category=1
Line: 1323
Error message: Trying to access array offset on value of type bool

File: functions.php
Page: /infusions/eshop/eshop.php?category=1
Line: 1326
Error message: Trying to access array offset on value of type bool

File: eshop_menu_panel.php
Page: /index.php
Line: 20
Error message: Undefined variable $settings

File: eshop_jqcategory_panel.php
Page: /index.php
Line: 11
Error message: Undefined variable $settings

File: products.php
Page: /infusions/eshop/administration/admin.php?aid=5e238ef3308f43b8
Line: 456
Error message: Trying to access array offset on value of type null

File: products.php
Page: /infusions/eshop/administration/admin.php?aid=5e238ef3308f43b8
Line: 458
Error message: Trying to access array offset on value of type null

could use some help please

I have already submitted the German version

Thanks in advance I hope I posted it correctly here in the topic

happy easter days
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 26 posts
  • Votes 0 votes
  • Topic users 7 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet