35 lines
1.1 KiB
JavaScript
Executable File
35 lines
1.1 KiB
JavaScript
Executable File
|
|
function majRecap(){
|
|
debugLocal=0;
|
|
if(debugLocal==1) alert('majRecap');
|
|
document.getElementById('codeOpe').value="faireMajRecap";
|
|
document.recapForm.submit();
|
|
}
|
|
|
|
function upCommentaire(){
|
|
debugLocal=0;
|
|
if(debugLocal==1) alert('upCommentaire');
|
|
document.getElementById('codeOpe').value="upCommentaire";
|
|
document.recapForm.submit();
|
|
}
|
|
|
|
// paypal.Buttons({
|
|
// createOrder: function(data, actions) {
|
|
// // This function sets up the details of the transaction, including the amount and line item details.
|
|
// return actions.order.create({
|
|
// purchase_units: [{
|
|
// amount: {
|
|
// value: '0.01'
|
|
// }
|
|
// }]
|
|
// });
|
|
// },
|
|
// onApprove: function(data, actions) {
|
|
// // This function captures the funds from the transaction.
|
|
// return actions.order.capture().then(function(details) {
|
|
// // This function shows a transaction success message to your buyer.
|
|
// alert('Transaction completed by ' + details.payer.name.given_name);
|
|
// });
|
|
// }
|
|
// }).render('#paypal-button-container');
|
|
//This function displays Smart Payment Buttons on your web page.
|