Merge pull request #10611 from frederic34/patch-21
Update stripe.class.php
This commit is contained in:
commit
8d699c2b49
@ -251,7 +251,7 @@ class Stripe extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function getPaymentIntent($object, $customer, $key = null, $status = 0, $usethirdpartyemailforreceiptemail = 0, $mode = 'automatic')
|
public function getPaymentIntent($object, $customer, $key = null, $status = 0, $usethirdpartyemailforreceiptemail = 0, $mode = 'automatic')
|
||||||
{
|
{
|
||||||
global $conf, $user;
|
global $conf, $user, $mysoc;
|
||||||
|
|
||||||
if (empty($object->id))
|
if (empty($object->id))
|
||||||
{
|
{
|
||||||
@ -395,7 +395,7 @@ class Stripe extends CommonObject
|
|||||||
{
|
{
|
||||||
$obj = $this->db->fetch_object($resql);
|
$obj = $this->db->fetch_object($resql);
|
||||||
$cardref = $obj->stripe_card_ref;
|
$cardref = $obj->stripe_card_ref;
|
||||||
dol_syslog("************* cardref=".$cardref);
|
dol_syslog(get_class($this) . "::cardStripe cardref=".$cardref);
|
||||||
if ($cardref)
|
if ($cardref)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user