Hi
I am trying to pass a parameter to the PayPal redirect as described in the FAQs. I save the record in a table before the redirect, so I want to pass the uniq_id field to the redirect.
When the reply come back however, none of the parameters are included.
I have put the extra parameters in the parameters box of the advanced tab on the PayPal redirect like this:
uniq_id=uniq_id
I was expecting it to be included in the returned POST, but no uniq_id parameter is included..
So, I tried this, in case it was the field on the form that couldn't be found:
my_parameter="mikki_parameter"
But when I send the email of the post results, there are still no additional parameters included.
Can anybody help me with this please?
Mikki
I am trying to pass a parameter to the PayPal redirect as described in the FAQs. I save the record in a table before the redirect, so I want to pass the uniq_id field to the redirect.
When the reply come back however, none of the parameters are included.
I have put the extra parameters in the parameters box of the advanced tab on the PayPal redirect like this:
uniq_id=uniq_id
I was expecting it to be included in the returned POST, but no uniq_id parameter is included..
So, I tried this, in case it was the field on the form that couldn't be found:
my_parameter="mikki_parameter"
But when I send the email of the post results, there are still no additional parameters included.
Can anybody help me with this please?
Mikki
Hi Mikki,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Bob
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Bob
Thanks for the reply Bob
Here is the result of the debugger which I set immediately before the PayPal redirect
Array
(
[64] => Array
(
[DB Save] => Array
(
[Queries] => Array
(
[0] => INSERT INTO `w0vu8_chronoengine_chronoforms_datatable_book` (`parent_title`, `parent_first_name`, `parent_last_name`, `parent_email`, `confirm_your_email`, `contact1_name`, `contact1_phone`, `contact2_name`, `contact2_phone`, `no_of_children`, `child1_first_name`, `child1_last_name`, `child1_medical`, `child1_notes`, `child2_first_name`, `child2_last_name`, `child2_medical`, `child2_notes`, `child3_first_name`, `child3_last_name`, `child3_medical`, `child3_notes`, `child4_first_name`, `child4_last_name`, `child4_medical`, `child4_notes`, `child5_first_name`, `child5_last_name`, `child5_medical`, `child5_notes`, `child6_first_name`, `child6_last_name`, `child6_medical`, `child6_notes`, `sessionprice`, `Monday1`, `Tuesday1`, `discount`, `to_pay`, `item_name`, `quantity`, `payment_method`, `conditions`, `pay_now`, `user_id`, `uniq_id`, `created`) values ('3', 'James', 'Brown', 'me@nomail.com', 'me@nomail.com', 'james', '01234', 'Jenny', '19376', '1', 'Johnny', 'Brown', 'none', 'Does not like cheese', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'All day, late finish 08:30 to 17:00', '2017-02-13', '2017-02-14', '0', '45.98', 'KidsCamps', '1', '0', '1', 'Pay Now', '0', 'bdf18d0f26043c4d8422cde984fc92560659e169', '2017-01-04 13:55:24');
)
)
)
)
I can see the uniq_id in the array above
Below is the ipn response I get from PayPal. As you can see, the additional parameters do not appear:
$_POST: Array ( [transaction_subject] => [payment_date] => 05:43:38 Jan 04, 2017 PST [txn_type] => web_accept [last_name] => Storey [residence_country] => GB [item_name] => KidsCamps [payment_gross] => [mc_currency] => GBP [business] => sales@something.co.uk [payment_type] => instant [protection_eligibility] => Ineligible [verify_sign] => Ahqtity9z8Q-Q.7jzcTcgaYu.N1tAk0XDASYf-T4PcSdr [payer_status] => verified [payer_email] => stikki@nomail.com [txn_id] => 98A57233T17122 [quantity] => 1 [receiver_email] => sales@something.co.uk [first_name] => Michael [payer_id] => W7T1234566J [receiver_id] => 324YZ34566RY [item_number] => [payment_status] => Completed [payment_fee] => [mc_fee] => 0.01 [mc_gross] => 0.01 [custom] => [charset] => windows-1252 [notify_version] => 3.8 [ipn_track_id] => 32hjyu2b9df2 )
Mikki
Here is the result of the debugger which I set immediately before the PayPal redirect
Array
(
[64] => Array
(
[DB Save] => Array
(
[Queries] => Array
(
[0] => INSERT INTO `w0vu8_chronoengine_chronoforms_datatable_book` (`parent_title`, `parent_first_name`, `parent_last_name`, `parent_email`, `confirm_your_email`, `contact1_name`, `contact1_phone`, `contact2_name`, `contact2_phone`, `no_of_children`, `child1_first_name`, `child1_last_name`, `child1_medical`, `child1_notes`, `child2_first_name`, `child2_last_name`, `child2_medical`, `child2_notes`, `child3_first_name`, `child3_last_name`, `child3_medical`, `child3_notes`, `child4_first_name`, `child4_last_name`, `child4_medical`, `child4_notes`, `child5_first_name`, `child5_last_name`, `child5_medical`, `child5_notes`, `child6_first_name`, `child6_last_name`, `child6_medical`, `child6_notes`, `sessionprice`, `Monday1`, `Tuesday1`, `discount`, `to_pay`, `item_name`, `quantity`, `payment_method`, `conditions`, `pay_now`, `user_id`, `uniq_id`, `created`) values ('3', 'James', 'Brown', 'me@nomail.com', 'me@nomail.com', 'james', '01234', 'Jenny', '19376', '1', 'Johnny', 'Brown', 'none', 'Does not like cheese', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'All day, late finish 08:30 to 17:00', '2017-02-13', '2017-02-14', '0', '45.98', 'KidsCamps', '1', '0', '1', 'Pay Now', '0', 'bdf18d0f26043c4d8422cde984fc92560659e169', '2017-01-04 13:55:24');
)
)
)
)
I can see the uniq_id in the array above
Below is the ipn response I get from PayPal. As you can see, the additional parameters do not appear:
$_POST: Array ( [transaction_subject] => [payment_date] => 05:43:38 Jan 04, 2017 PST [txn_type] => web_accept [last_name] => Storey [residence_country] => GB [item_name] => KidsCamps [payment_gross] => [mc_currency] => GBP [business] => sales@something.co.uk [payment_type] => instant [protection_eligibility] => Ineligible [verify_sign] => Ahqtity9z8Q-Q.7jzcTcgaYu.N1tAk0XDASYf-T4PcSdr [payer_status] => verified [payer_email] => stikki@nomail.com [txn_id] => 98A57233T17122 [quantity] => 1 [receiver_email] => sales@something.co.uk [first_name] => Michael [payer_id] => W7T1234566J [receiver_id] => 324YZ34566RY [item_number] => [payment_status] => Completed [payment_fee] => [mc_fee] => 0.01 [mc_gross] => 0.01 [custom] => [charset] => windows-1252 [notify_version] => 3.8 [ipn_track_id] => 32hjyu2b9df2 )
Mikki
This topic is locked and no more replies can be posted.