// There was no response from Stripe on the create charge command.
if(isset($error_url)){
CRM_Core_Error::statusBounce('Stripe transaction response not received! Check the Logs section of your stripe.com account.',$error_url);
if(isset($params['stripe_error_url'])){
CRM_Core_Error::statusBounce('Stripe transaction response not received! Check the Logs section of your stripe.com account.',$params['stripe_error_url']);
}
else{
// Don't have return url - return error object to api
...
...
@@ -566,7 +578,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
* Assoc array of input parameters for this transaction.
* @param int $amount
* Transaction amount in USD cents.
* @param object $stripe_customer
* @param object $stripeCustomer
* Stripe customer object generated by Stripe API.
*
* @return array
...
...
@@ -574,7 +586,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {