I use s2member shortCode here it is:
[s2Member-PayPal-Button level="1" ccaps="" desc="XXXXXXX" ps="paypal" lc="" cc="ILS" dg="0" ns="1" custom="https://XXXXX" ta="0" tp="0" tt="D" ra="360" rp="1" rt="Y" rr="BN" rrt="" rra="1" image="default" output="button" /]
The log:
LOG ENTRY: Thu Apr 8th, 2021 @ precisely 6:55 am UTC
PHP v7.3.27 :: WordPress v5.7 :: s2Member v200301 :: s2Member Pro v200301
Memory 13.50 MB :: Real Memory 16.00 MB :: Peak Memory 13.76 MB :: Real Peak Memory 16.00 MB
www.XXXXXX.XXXX/XXXXXXX
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Array
(
[s2member_log] => Array
(
[0] => Unable to verify $_POST vars. This is most likely related to an invalid configuration of s2Member, or a problem with server compatibility.
[1] => Please make sure that you configure a PayPal PDT Identity Token for your installation of s2Member. See: `s2Member → PayPal Options → PayPal PDT/Auto-Return Integration`.
[2] => See also, this KB article: `http://www.s2member.com/kb/server-scanner/`. We suggest that you run the s2Member Server Scanner.
[3] => array (
's2member_paypal_return' => '1',
's2member_paypal_return_tra' => 'XXXXX',
'amt' => '360.00',
'cc' => 'ILS',
'item_name' => 'XXXXX',
'item_number' => '1::1 Y',
'st' => 'Completed',
'tx' => 'XXXXXX',
'do_not_cache' => '67210',
)
[4] => Redirecting Customer to the Home Page (after displaying an error message).
)
[s2member_paypal_return_tra] => XXXXXX
)