Review Your Personal Data

Please review, amend as needed and update your personal data as stored by the Blue Circle Club

+ (0)
    stripe_user_id); IF(count($customer->sources->data) > 0) : FOREACH($customer->sources->data AS $card) : IF("{$card->exp_year}{$card->exp_month}" < date("Ym")) $classes[] = "expired"; ELSEIF("{$card->exp_year}{$card->exp_month}" == date("Ym")) $classes[] = "expiring"; $classes = implode(" ", $classes); print("
  • "); print(str_pad($card->last4, 19, "**** ", STR_PAD_LEFT)); print(" (Expiring: {$card->exp_month}/{$card->exp_year})"); print(""); print("
  • "); ENDFOREACH; ENDIF; } catch(\Stripe\Error\Card $e) { // Since it's a decline, \Stripe\Error\* will be caught $body = $e->getJsonBody(); $err = $body['error']; // print('Status is:' . $e->getHttpStatus() . "\n"); // print('Type is:' . $err['type'] . "\n"); // print('Code is:' . $err['code'] . "\n"); // // param is '' in this case // print('Param is:' . $err['param'] . "\n"); // print('Message is:' . $err['message'] . "\n"); } catch (\Stripe\Error\RateLimit $e) { //print("{$err[code]} Too many requests [{$err[message]}]"); } catch (\Stripe\Error\InvalidRequest $e) { //print("{$err[code]} Invalid parameters [{$err[message]}]"); } catch (\Stripe\Error\Authentication $e) { //print("{$err[code]} Authentication failed [{$err[message]}]"); } catch (\Stripe\Error\ApiConnection $e) { //print("{$err[code]} Connection error [{$err[message]}]"); } catch (\Stripe\Error\Base $e) { //print("{$err[code]} A Stripe error occurred [{$err[message]}]"); } catch (Exception $e) { //print("{$err[code]} An error occurred [{$err[message]}]"); } ?>