Comments (18)
Quit +1ing and someone make a pull request.
from cashier-stripe.
+1
from cashier-stripe.
Would be great 👍
from cashier-stripe.
👍
from cashier-stripe.
Yeah agree this would be cool.
from cashier-stripe.
Would totally be all over this. <3
from cashier-stripe.
Yeah - this would be vital.
from cashier-stripe.
Looking for a way to send a user's email/username to Stripe so I can save them on a customer record for identification purposes. This would solve that problem.
from cashier-stripe.
+1 for all of this.
also @nitrammit, could this be done by passing extra metadata to the create()
method for subscriptions to pass an email or description to identify the customer?
$user->subscription('monthly')->create($stripetoken, ['email' => '[email protected]']);
from cashier-stripe.
+1
I like what You had to add as well danmatthews, that would be quite useful.
from cashier-stripe.
I was able to pass an email through to Stripe by altering the StripeGateway.php It'll break as soon as I run composer of course, but it gets the job done in a pinch.
I added an $email parameter to both the create & createStripeCustomer functions
public function create($token, $description = '', $customer = null, $email = null)
{
if ( ! $customer)
{
$customer = $this->createStripeCustomer($token, $description, $email);
}
$this->billable->setStripeSubscription(
$customer->updateSubscription($this->buildPayload())->id
);
$this->updateLocalStripeData($this->getStripeCustomer($customer->id));
}
public function createStripeCustomer($token, $description, $email = null)
{
$customer = Stripe_Customer::create([
'card' => $token,
'description' => $description,
'email' => $email
], $this->getStripeKey());
return $this->getStripeCustomer($customer->id);
}
from cashier-stripe.
+1 on this.
from cashier-stripe.
+1. The ability for customers to update credit card information is the missing piece in my case.
from cashier-stripe.
+1 is anyone working on this? Would be great.
from cashier-stripe.
+1
from cashier-stripe.
+1 for this, but bear in mind a customer can have several cards, but has a default card attached to them. I assume in this case you meant updating the default card with the above methods :)
from cashier-stripe.
Has this been fixed in the latest release?
from cashier-stripe.
I apologize. I was just curious if this commit:
Fix how credit cards are updated.
Had anything to do with this issue. I'll get to work on a pull request otherwise.
from cashier-stripe.
Related Issues (20)
- Embedded Checkout without a redirect not working HOT 1
- Unsubscribe field ends_at is null HOT 6
- Return Stripe checkout URL from checkout method HOT 3
- Cannot use proration_date for updating the quantity HOT 3
- Add support for deleting invoices HOT 1
- latestPayment() failiure when using send_invoice HOT 1
- 3D-Secure Card - Always Authenticate : Not Working when user try to Purchase a Subscription. HOT 2
- Stripe Tax: isTaxExempt() isNotTaxExempt() reverseChargeApplies() methods returns incorrect state HOT 4
- Payment behavior isn't being passed on like proration behavior is when updating the quantity from the subscription HOT 1
- updateDefaultPaymentMethod() should update subscription's default payment method HOT 2
- New subscription: The payment attempt failed because additional action is required before it can be completed. HOT 1
- Add support for quote HOT 2
- Dynamic Tax Rates for Subscriptions HOT 4
- Improvement: End the generic trial instead of clearing it when a subscription is started HOT 1
- Confirm payment screen not processing payment correctly HOT 1
- Use of anchorBillingCycleOn() for subscription checkout HOT 3
- Method hasPaymentMethod returns false if Stripe Link is enabled HOT 1
- check if user is subscribed? documentation says this should work? HOT 1
- Bug finding payment method causing error on payment.blade.php HOT 2
- Migrations do not create foreign key in "subscription_items" to "subscriptions" table HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cashier-stripe.