com.drastikbydesign.stripe icon indicating copy to clipboard operation
com.drastikbydesign.stripe copied to clipboard

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

Open masetto opened this issue 3 years ago • 1 comments

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

masetto avatar Sep 27 '21 10:09 masetto

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);
  1. at row 81 a isset($params['recur_id']) is missing.

masetto avatar Sep 27 '21 14:09 masetto