Merge pull request #10611 from frederic34/patch-21

Update stripe.class.php
This commit is contained in:
Laurent Destailleur 2019-02-15 15:15:29 +01:00 committed by GitHub
commit 8d699c2b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {