![]() |
|
ZenPayPal 2-alpha - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: ZenPayPal 2-alpha (/thread-12963.html) |
ZenPayPal 2-alpha - hucste - 04-08-2017 Hi, all. I rewrite my code about zenpaypal plugin, in new version. I need to create a checkout php script receiving posted datas from the form html (wrote by function zenpaypal into zenPaypal.php script). How to do it for running correctly with zenphoto, and my zenpaypal plugin? ZenPayPal 2-alpha - acrylian - 04-08-2017 Great, third party contributionsl like this are always very welcome. I don't know the paypal framework and what you specifially need to do with it. But via PHP you can generally check for POST/GET data directy in your main plugin file using
If all can happen on page reload after submitting you can do that within a theme function of the plugin naturally. See for example the Does that help? Or do you mean anything else? ZenPayPal 2-alpha - hucste - 04-08-2017 ok, thank you. ZenPayPal 2-alpha - hucste - 15-08-2017 Hi... I've one problem, with my script. If i test as: ` $ php-7.0 -l zenpaypal.php No syntax errors detected in zenpaypal.php $ php-7.0 -l zenpaypal/class.ZenPayPal.php No syntax errors detected in zenpaypal/class.ZenPayPal.php ` But, when i upload my plugin, the zenphoto website is blank! My first lines code into zenpaypal.php: ` ZenPayPal 2-alpha - acrylian - 16-08-2017 Some observations and recommendations. [list] |