Skip to content
Snippets Groups Projects
Commit 7e278b0d authored by mattwire's avatar mattwire Committed by mattwire
Browse files

Add comment

parent 4f3a1a92
No related branches found
No related tags found
1 merge request!1526.6 to master
...@@ -19,6 +19,7 @@ class CRM_Stripe_Api { ...@@ -19,6 +19,7 @@ class CRM_Stripe_Api {
* @throws \Stripe\Exception\ApiErrorException * @throws \Stripe\Exception\ApiErrorException
*/ */
public static function getObjectParam($name, $stripeObject) { public static function getObjectParam($name, $stripeObject) {
// object is a string containing the Stripe object name
switch ($stripeObject->object) { switch ($stripeObject->object) {
case 'charge': case 'charge':
switch ($name) { switch ($name) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment