Skip to content

Commit e2ec87b

Browse files
author
Jordan Boesch
committed
added some else
1 parent 8869823 commit e2ec87b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

example.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
{
3838
print_r($fb->getResponse());
3939
}
40+
else
41+
{
42+
echo $fb->getError();
43+
print_r($fb->getResponse());
44+
}
4045

4146
/**********************************************
4247
* Create a recurring profile with multiple line items
@@ -72,4 +77,9 @@
7277
$recurrng_id = $res['recurring_id'];
7378
// Do something with the recurring_id you were returned
7479
}
80+
else
81+
{
82+
echo $fb->getError();
83+
print_r($fb->getResponse());
84+
}
7585
?>

0 commit comments

Comments
 (0)