S2 Pro forms response data
Posted: July 28th, 2011, 7:45 pm
Hi Jason Chris,
I have an option page which provides a list of all subscribable options, once
a user selects the relevant options then clicked checkout, this same pages displays a
confirmation of options selected and a S2member Pro subscription payment
form.
The problem I have at present is if there is a cancellation or an error, the page
returns to the first options page (which is what I want). But I cannot get access
to the error codes / response data that would be displayed on the S2 Pro forms.
s2member-pro\includes\classes\gateways\paypal\paypal-form-in.inc.php
contains a number of do_action points i.e:
ws_plugin__s2member_pro_during_sc_paypal_cancellation_form
ws_plugin__s2member_pro_during_sc_paypal_sp_form
ws_plugin__s2member_pro_during_sc_paypal_modification_form
ws_plugin__s2member_pro_during_sc_paypal_form
But accessing data from these points to insert into a form is proving difficult.
Any clues as to where I can grab these vars to insert into a div alert box?
Also whilst I am here, the absolute last problem I have before going semi live
Is the api and pdt logs are great, but I need to have all api and pdt transactions
logged in Mysql.
Is there anyway to grab raw log data (with log option switched off) which I can format
and insert into Mysql?
Many thanks
PeterHuk
I have an option page which provides a list of all subscribable options, once
a user selects the relevant options then clicked checkout, this same pages displays a
confirmation of options selected and a S2member Pro subscription payment
form.
The problem I have at present is if there is a cancellation or an error, the page
returns to the first options page (which is what I want). But I cannot get access
to the error codes / response data that would be displayed on the S2 Pro forms.
s2member-pro\includes\classes\gateways\paypal\paypal-form-in.inc.php
contains a number of do_action points i.e:
ws_plugin__s2member_pro_during_sc_paypal_cancellation_form
ws_plugin__s2member_pro_during_sc_paypal_sp_form
ws_plugin__s2member_pro_during_sc_paypal_modification_form
ws_plugin__s2member_pro_during_sc_paypal_form
But accessing data from these points to insert into a form is proving difficult.
Any clues as to where I can grab these vars to insert into a div alert box?
Also whilst I am here, the absolute last problem I have before going semi live
Is the api and pdt logs are great, but I need to have all api and pdt transactions
logged in Mysql.
Is there anyway to grab raw log data (with log option switched off) which I can format
and insert into Mysql?
Many thanks
PeterHuk