drastik / com.drastikbydesign.stripe

CMS Independent Stripe payment processor for CiviCRM 4.x
Other
35 stars 48 forks source link

typo on row 45 of api/v3/Stripe/Importsubscription.php #274

Open masetto opened 3 years ago

masetto commented 3 years ago

hello, please correct the typo on row 45 of api/v3/Stripe/Importsubscription.php: customerParams instead of cusotmerParmas :-)

masetto commented 3 years ago

other 2 issues in same file:

  1. The function civicrm_api3_stripe_customer_create does not return the customer just created; so at row 40 I have to add

    $custresult = civicrm_api3('StripeCustomer', 'get', $customerParams);
  2. at row 81 a isset($params['recur_id']) is missing.