Skip to content
Snippets Groups Projects
Commit cf2e48d2 authored by Айвар Спрудзанс's avatar Айвар Спрудзанс
Browse files

add cmsData

parent 1e1593b0
Branches master
No related merge requests found
......@@ -201,6 +201,10 @@ function cloudpayments_build_redirect_form($form, &$form_state, $order, $payment
data: {
order_number: "'.$order->order_id.'", //произвольный набор параметров
phone: "'.$sFieldPhone.'",
cmsData: {
cmsName: "Drupal Commerce",
cmsModule: "cp-drupal-commerce-0.1.1",
},
cloudPayments: '. ($sSendCheck == 'yes' ? '{ customerReceipt: { Items:'.json_encode($aItems).', taxationSystem: '.$iTaxSystem.', calculationPlace: "www.'.$_SERVER["SERVER_NAME"].'", email: "'.$order->mail.'", phone: "'.$sFieldPhone.'"} }' : "{}") . '
}
},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment