Arsenal21 / stripe-payments

Stripe Payments Plugin for WordPress
11 stars 8 forks source link

Add filter to data for creating customer #55

Closed zahardev closed 6 years ago

zahardev commented 6 years ago

In function asp_ipn_completed() customer creates with hardcoded set of data: $customer = \Stripe\Customer::create( array( 'email' => $stripeEmail, 'card' => $stripeToken ) ); But there may be other optional parameters to send. Please add the filter to extend this data.