Paypal IPN simulator

StartPrev 1 2 NextEnd
06.10.2020 07:43
#1
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Paypal IPN simulator

To whom it may concern:
I am in Joomla 4 alpha, I made a layout over ride for finish.php of checkout view template in related template and I assigned siteurl/en/component/jshopping/checkout/finish.html
as ipn handler url in paypal form of ipn simulator
also I added related stuff to layout override to be able to listen and receive to the sent ipn
yet it does not work and ipn was not sent.
Kian William

 
06.10.2020 07:45
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

https://www.joomshopping.com/forum/posts/7/4514.html?lang=en

 
06.10.2020 08:27
#3
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

Thanks, also paypal ipn simulator can not be validated with the script listener I added to the layout override of checkout/finish.php
I got to employ sandbox test accounts, I should have read all its manuals
The script in php is offered by paypal itself in the ipn siumlator page via a link, I thought it had to work
Kian William
P.S Long Live Field Marshall Erwin Romell

 
06.10.2020 09:15
#4
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

Yes all data is there in the log file. yet in the test samples with paypal, paid orders with paypal are not added to order part layout in admin part of jshopping, is it because of just testing procedure rather than real payment with paypal, because I believe it must be added there?
Also I am going to make notify_url and return url both the same: components/jshopping/checkout/finish.html (checkout/finish.php), from there I get data from paypal and based on that redirect users to the related page to download stuff.(This time I employ sandbox test accounts rather than ipm simulator which does not work). From jshopping point of view is there a problem?
Do you candidate another layout page of jshopping views to do that?
Kian William

 
06.10.2020 13:48
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

I don't know what you are doing.

Joomshopping works with paypal (payment paypal)
notify url
/index.php?option=com_jshopping&controller=checkout&task=step7&act=notify&js_paymentclass=pm_paypal&no_lang=1

 
06.10.2020 16:53
#6
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

I explain:
I am going to redirect clients from notify_url to other pages based on data received to be able to download softwares.
Now this notify_url , could be the url you refered or could it be component/checkout/finish.php?
Kian William

 
06.10.2020 20:22
#7
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

notify url only for server paypal
client do not redirected to notify url.

client redirected to return url


Last change: 06.10.2020 20:23
 
07.10.2020 07:29
#8
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

That is true, yet do I have access to $_POST data from paypal in layout override of return page? or I should rely on table orders or paymentdata.log file ?
Kian William

 
07.10.2020 07:48
#9
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

I do not understand you.
From which file?

 
07.10.2020 08:35
#10
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

Suppose a client buys few items and pays by paypal, after payment the client will be returned to return page which is checkout/finish.html
Could I access $_POST data from paypal in that file? I know everything is in paymentdata.log or table order, but could I access $_POST data there from paypal? the answer is no, because I already checked that. so I have to save $_POST data in notify_url to a session variable or a file separately to be able to use in return url. This way reading from log file or table order is not necessary,or may be jshopping already saved it in a session variable, in that case could you give me its details?
Kian William


Last change: 07.10.2020 08:58
 
07.10.2020 11:22
#11
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

There is no such information in the session or in the database.

 
07.10.2020 11:56
#12
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

Yet returning $_POST data from paypal is obtained in a file so that the component could feed the paymentdata.log file. I went through the checkoutController and checkoutModel (the place that logfile is fed). Classes and files are included in these two files, could you specify exactly in which file $_POST data from paypal is taken? it saves my time. thanks ahead
Kian William

 
08.10.2020 16:37
#13
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

Alright, nevermind, just my last question: when a client buys from paypal in test mode and returns back to site, the order is not viewable in order layout of component backend,only it is reflected in paymentdata.log file, is it because of testing mode?
I am using Joomla 4
Kian William

 
08.10.2020 19:59
#14
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

paymentdata.log ?

 
09.10.2020 10:35
#15
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

In testing mode, paymentdata.log is filled with data, order layout in admin part does not show any record.
Is it working right?
In real mode, both paymentdata.log and order layout in admin part show data, true?
Kian William

 
09.10.2020 15:38
#16
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

What data?
Send me file.


Last change: 09.10.2020 23:20
 
09.10.2020 18:38
#17
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

The $_POST data returned back from paypal after buying item(s), e.g type of transaction, item name, ....
Kian William

 
09.10.2020 23:22
#18
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

Send me file data.

url from paylal
payment_status=?
...
Many important details.

 
10.10.2020 07:13
#19
KW
Joomshopping forum user no avatar
Name: Kian William
06.10.2020
Posts: 25
Quote
Aw: Paypal IPN simulator

You have not answered my question:
In testing mode, does the purchase of item(s) will be reflected in orders layout admin side of jshopping? (because in my samples it did not and I am in joomla 4 but paymentdata.log file contains all records of purchase in test mode)?
Kian William

 
10.10.2020 15:35
#20
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: Paypal IPN simulator

Yes. testing mode - works as live mode.
status must be paid (if in log payment_status=Completed)


Last change: 10.10.2020 15:37
 
StartPrev 1 2 NextEnd


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.