JCKN123

Member Since 2 Years Ago

Experience Points
1,080
Total
Experience

3,920 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
0
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    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.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 1
1,080 XP
Feb
26
1 week ago
Activity icon

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.

Activity icon

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?

Feb
23
1 week ago
Activity icon

Replied to Access Allow Origin Header

This time it works but for few browsers it showing like

"Cross-Origin Resource Sharing Error : AllowOriginMismatch"

Activity icon

Replied to Access Allow Origin Header

I tried the same steps but my error still showing up :(

Activity icon

Replied to Access Allow Origin Header

I'm using laravel 6, is there any solution to fix that issue.

Activity icon

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"

Feb
16
2 weeks ago
Activity icon

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

Activity icon

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

Activity icon

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.

Activity icon

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.

Feb
09
3 weeks ago
Activity icon

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

Activity icon

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??

Activity icon

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.

Feb
02
1 month ago
Activity icon

Replied to Laravel Session Not Working In Production Server

Yes its nothing to link it to session data,

Activity icon

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

Activity icon

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

Activity icon

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

Activity icon

Replied to Laravel Session Not Working In Production Server

I keep it as

SESSION_DRIVER=file

Activity icon

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.

Activity icon

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.

""

Oct
22
4 months ago
Activity icon

Replied to Form Target Iframe Issue On Safari

I tried all the options i still got no luck..

Oct
21
4 months ago
Activity icon

Replied to Form Target Iframe Issue On Safari

I tried that, but it same.. no luck :(

Activity icon

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