Hi,
I wrote a s2member payment gateway module for ogone.
I checked the logs and saw, that PayPal seems to return different parameters for an accepted no recurring payment.
This is the current output for my module in the s2m log file:
PHP v5.2.17 :: WordPress® v3.5 :: s2Member® v130123 :: s2Member® Pro v130123
Memory 43.06 MB :: Real Memory 43.75 MB :: Peak Memory 43.35 MB :: Real Peak Memory 43.75 MB
www.extrarot.com/?s2member_paypal_notify=1&s2member_paypal_proxy=viveumtest&s2member_paypal_proxy_verification=###d&custom=www.extrarot.com&
User-Agent: WordPress/3.5; http://www.extrarot.com
array (
'custom' => 'www.extrarot.com',
'orderID' => '51115eef65f7c~217.50.246.78',
'currency' => 'EUR',
'amount' => '100',
'ACCEPTANCE' => 'test123',
'STATUS' => '9',
'CN' => 'dg',
'TRXDATE' => '02/05/13',
'PAYID' => '18971440',
'NCERROR' => '0',
'ECI' => '7',
'IP' => '217.50.246.78',
'no_shipping' => '1',
'no_note' => '1',
'item_name' => 'Premium-Girl für 1 Monat.',
'item_number' => '5',
'invoice' => '51115eef66131~217.50.246.78',
'on0' => 'Referencing Customer ID',
'os0' => '1',
'on1' => 'Customer IP Address',
'os1' => '217.50.246.78',
'a3' => '10000',
'p3' => '1',
't3' => 'Monat',
'txn_type' => 'web_accept',
'SHASIGN' => 'D6002462DF6279D0ED6B47EFFB72433D9881E941',
'proxy_verified' => 'viveumtest',
's2member_log' =>
array (
0 => 'IPN received on: Tue Feb 5, 2013 7:35:32 pm UTC',
1 => 's2Member POST vars verified with a Proxy Key',
2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
3 => 'Ignoring this IPN request. The `txn_type/status` does NOT require any action on the part of s2Member.',
),
'subscr_gateway' => 'viveumtest',
's2member_paypal_proxy' => 'viveumtest',
's2member_paypal_proxy_verification' => '###',
)
I have some questions regarding some post variables.
1. Which status code do I have to send, if the payment provider sent status is okay?
2. The txn type is okay, or?
3. Are the other variables, which are getting sent, okay?
Thanks