Comments (10)
I don't believe you have to include PhantomJS though. It's already included and loaded in Cashier. It's located in here:
vendors/laravel/cashier/src/Laravel/Cashier/bin
Are you saying you got it working by including your own?
from cashier-stripe.
I didn't even notice that it was included – thanks for pointing me to it @RyanHavoc.
I haven't tried including it on my own as I just used $user->findInvoiceOrFail($id)->render([]);
which returns an HTML invoice to the browser where the user is free to view & print it so I'm not really worried about PDFs anymore.
from cashier-stripe.
Ah, thanks for that. I would have preferred PDF but serving up the HTML invoice instead will be fine.
from cashier-stripe.
Hmm, I'm not sure. I am getting PDF invoices fine. Which operating system?
from cashier-stripe.
I'm running it on Homestead so Ubuntu 14.
On 24/06/2014 10:46 AM, "Taylor Otwell" [email protected] wrote:
Hmm, I'm not sure. I am getting PDF invoices fine. Which operating system?
Reply to this email directly or view it on GitHub
#74 (comment).
from cashier-stripe.
I'm working locally at the minute MAMP on Mac OSX.
from cashier-stripe.
I'm experiencing issue with PDFs as well. They won't open on Mac OSX. Laravel is hosted on a ubuntu VM.
from cashier-stripe.
If I don't want PDF invoices can I directly delete the bin folder?
from cashier-stripe.
For what it's worth, I just encountered the same problem. Turned out that it was just the permissions of phantomjs (no execution permissions, so it was failing).
As for running on OSX with MAMP, ran into a different problem but didn't spent too much time investigating. This might help though: http://stackoverflow.com/questions/19008960/phantomjs-on-mac-os-x-works-from-the-command-line-not-via-exec
from cashier-stripe.
I had the same issue on Mac OSX with Homestead VM.
I change phantamjs permissions it is working now.
cd <project>/vendor/laravel/cashier/src/Laravel/Cashier/bin/linux-x86_64
chmod a+x phantomjs
thanks manavo
from cashier-stripe.
Related Issues (20)
- Multiple payment providers HOT 1
- Prorate not working properly with swap price as i tried many time but still it exist. HOT 1
- Subscriptions Duplicate Error On Create HOT 4
- Cashier findBillable can't find soft deleted users HOT 1
- Automatically cancel recurring subscriptions when a User is deleted HOT 2
- Two of the same subscriptions get created, user gets charged monthly twice but only has one subscription HOT 3
- Support null or default coupon argument HOT 1
- Cashier support for no-cost orders via Checkout HOT 3
- Release date for v15? HOT 1
- Add support for Embeddable Pricing Tables HOT 4
- Undefined error appears after updating to 15.0 HOT 1
- 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 3
- Payment behavior isn't being passed on like proration behavior is when updating the quantity from the subscription 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.