Member Since 2 Years Ago
3,920 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
Replied to Session:get() Works In Chrome Not In Safari
Can't we able to fix it from the server-side, it's weird that it works fine at the QA server but not in production. Env variables are also the same except test payment iframe.
For some reason, I just discovered that it's not working on edge broswer either.
Started a new Conversation Session:get() Works In Chrome Not In Safari
I tested on all browsers on my laptop, I get the value
But I tested it on my iPhone, it works fine at chrome but no in safari.
do I need to save it?
Replied to Access Allow Origin Header
This time it works but for few browsers it showing like
"Cross-Origin Resource Sharing Error : AllowOriginMismatch"
Started a new Conversation Access Allow Origin Header
My iframe will generate from CyberSource Payment Gateway
For Some reason, On Some browsers. it's not generating.
I check the browser network, I received this error
"strict-origin-when-cross-origin"
Replied to Blade Cache Keeps Restoring Old Views And Routes
@jlrdw it works perfectly fine at developing site when i push the changes to production. Still, Some users are getting old content.
I run all PHP artisan commands, Still No use. :(
Thanks
Replied to Blade Cache Keeps Restoring Old Views And Routes
@snapey Thanks but for some reason its calling old routes and views. even after i deleted them
Replied to Blade Cache Keeps Restoring Old Views And Routes
It works fine at local server and production server, Still for some reason. My Current Website USERS still accessing controllers that are not on the website. I deleted them all.
Is there any way we can force the browser need to call the website for every request instead of taking from cache.
Replied to Blade Cache Keeps Restoring Old Views And Routes
@jlrdw can you help me out with this. How to resolve it.
Browsers keep caching the old controllers which they are not existing on the site. it works fine on all my browsers but when users coming to the website. For some reason its calling old controller methods.
Replied to Blade Cache Keeps Restoring Old Views And Routes
I tried the same @snapey , but for some reason, i still got the error,
In MemcachedConnector.php line 69:
Class 'Memcached' not found
I didn't setup Memcached, How can i iinstall Memcached on my server
Replied to Blade Cache Keeps Restoring Old Views And Routes
i got this error,
laravel Class 'Memcached' not found
after i did php artisan cache:clear
Any solution for this??
Started a new Conversation Blade Cache Keeps Restoring Old Views And Routes
For Some reason, Blade Cache Keeps Restoring old views and routes, as well with controllers.
I tried
"php artisan view:clear"
This one doesn't solve my issue, I did this command so many times it stills shows me the old content.
Can some one help me on this.
Replied to Laravel Session Not Working In Production Server
Yes its nothing to link it to session data,
Replied to Laravel Session Not Working In Production Server
I’m not making any request to the cybersource. I provided post back url to get back response from cybersource.
Thanks
Replied to Laravel Session Not Working In Production Server
I’m not sure if I can understand the question..
New to laravel...
I want to pass the data in between the functions in a same controller using sessions.
I will get the response from cybersource acceptance to getpaymentgatewayresponse() function
Replied to Laravel Session Not Working In Production Server
Yes it’s a single server environment. I got response back from cybersource payment. Using sessions I was passing transaction I’d, month , year to checkout page above.
It’s working in local. But not in production. It’s showing null
Replied to Laravel Session Not Working In Production Server
" public function store(Request $request) { $input = request()->all(); $params = array(
'paymentDetails' => array(array(
'expirationMonth' => session()->get('ccmonth'),
'expirationYear' => session()->get('ccyear'),
'billingAddress' => array(
'address1' => null,
'address2' => null,
'country' => 'US',
'city' => $input['city'],
'state' => 'CT',
'zipCode' => $input['zipcode'],
),
'amountToCharge' => session()->get('prepaidcardtotal'),
)
),
);
}
public function getPaymentGatewayResponse(Request $request) {
$input = request()->input();
// dd($input); $expirationdate = explode("-",$input['req_card_expiry_date']); $month = $expirationdate[0]; $year = $expirationdate[1]; $lastfour = substr($input['payment_token'], -4);
session()->put('last_four', $year);
session()->put('ccmonth', $month);
session()->put('ccyear', $lastfour);
session()->save();
return view('elements.blocks.iframe2', ['response' => $input]); }
"
This works fine at local server but not iin production sever, can some one can help me around this.
Started a new Conversation Laravel Session Not Working In Production Server
Hello All,
For some reason laravel session not working in production server, it works fine at local server.
""
Started a new Conversation Form Target Iframe Issue On Safari
I have this code,
<form action="{{ route('paymentgateway1') }}" method="post" target="myiframe">
@CSRF
<input type="submit" value="Do Stuff!">
</form>
<iframe name="myiframe"></iframe>
This code is working fine on Firefox and Chrome. For safari, form target not reaching to iframe. it opens a new page and showing the iframe over there.
I'm trying to show the Payment form from CyberSource in laravel.
Any ideas on why this is happening and how to fix this issue