remove console.logs
This commit is contained in:
parent
185df856cd
commit
10abe82b83
@ -55,7 +55,6 @@ const PaymentForm = ({ cost, invoice }) => {
|
|||||||
.then((result) => {
|
.then((result) => {
|
||||||
if (!result.error) {
|
if (!result.error) {
|
||||||
|
|
||||||
console.log(invoice);
|
|
||||||
invoice.token = result.token.id;
|
invoice.token = result.token.id;
|
||||||
invoice.description = `Payement de ${cost} à GM`;
|
invoice.description = `Payement de ${cost} à GM`;
|
||||||
invoice.amountInCents = cost;
|
invoice.amountInCents = cost;
|
||||||
@ -76,7 +75,6 @@ const PaymentForm = ({ cost, invoice }) => {
|
|||||||
},
|
},
|
||||||
body: json
|
body: json
|
||||||
}).then((response) => {
|
}).then((response) => {
|
||||||
console.log(response);
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
mySwal.fire({
|
mySwal.fire({
|
||||||
title: 'Commande envoyée avec succès!',
|
title: 'Commande envoyée avec succès!',
|
||||||
|
Loading…
Reference in New Issue
Block a user