Update stripe.php
This commit is contained in:
parent
b2d54662a1
commit
4a83036a8e
@ -2,7 +2,7 @@
|
|||||||
/* Copyright (C) 2017 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
/* Copyright (C) 2017 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
* Copyright (C) 2017 Olivier Geffroy <jeff@jeffinfo.com>
|
* Copyright (C) 2017 Olivier Geffroy <jeff@jeffinfo.com>
|
||||||
* Copyright (C) 2017 Saasprov <saasprov@gmail.com>
|
* Copyright (C) 2017 Saasprov <saasprov@gmail.com>
|
||||||
* Copyright (C) 2018 Thibault FOUCART <support@ptibogxiv.net>
|
* Copyright (C) 2018-2019 Thibault FOUCART <support@ptibogxiv.net>
|
||||||
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -221,7 +221,7 @@ if (empty($conf->stripeconnect->enabled))
|
|||||||
$endpoint->disabled = false;
|
$endpoint->disabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$endpoint->url = dol_buildpath('/public/stripe/ipn.php?test', 3);
|
$endpoint->url = dol_buildpath('/public/stripe/ipn.php?test', 2);
|
||||||
$endpoint->save();
|
$endpoint->save();
|
||||||
if ($endpoint->status == 'enabled')
|
if ($endpoint->status == 'enabled')
|
||||||
{
|
{
|
||||||
@ -294,7 +294,7 @@ if (empty($conf->stripeconnect->enabled))
|
|||||||
$endpoint->disabled = false;
|
$endpoint->disabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$endpoint->url = dol_buildpath('/public/stripe/ipn.php', 3);
|
$endpoint->url = dol_buildpath('/public/stripe/ipn.php', 2);
|
||||||
$endpoint->save();
|
$endpoint->save();
|
||||||
if ($endpoint->status == 'enabled')
|
if ($endpoint->status == 'enabled')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user