Byron Fitzgerald Student

  • Male
  • from Lincoln
  • Member since Feb 5th 2019
  • Last Activity:
Posts
127
Likes Received
44
Points
684
Profile Hits
612
  • Byron Fitzgerald

    Post
    Think it's an issue with the array map, should probably be
    (Code, 5 lines)

  • Byron Fitzgerald

    Post
    My mistake, forgot to add the data to the template. Last line should be

    (Code, 1 line)

  • Byron Fitzgerald

    Post
    Hi Glen,

    Had a lovely break thanks, hope you did to.

    I think it might be because the comments app is a bit outdated and doesn't have the full available options when rendering the templates. I'm pretty sure the each option doesn't exists for
  • Thanks Byron,

    Rather than amend the index number I've set the code to show $Statuses->get_status_and_above('payment_failed').

    This works fine for what we need. Thanks for the heads up.
  • Byron Fitzgerald

    Replied to the thread filter out past dates.
    Post
    I think when the date is stored it's set in the standard format of 'Y-m-d H:i:s'. The formatting of field happens during runtime in the template handler, instead of the save/edit process.

    If that still doesn't work you can check the database, or use…
  • Had a look around for you. The listing page uses the following $Statuses->get_status_and_above('paid') to fetch the orders.

    In the shop admin area you can view all the statuses. In the list of statuses there is an index column. Anything above that has…
  • Byron Fitzgerald

    Replied to the thread SCA Compliance for Stripe.
    Post
    You have to pass the styles through the elements.create function. You can also style the container with regular css.

    Here's an example from the stripe docs
    (Code, 29 lines)


    If you want more customisation over the layout you can create individual…
  • Byron Fitzgerald

    Replied to the thread SCA Compliance for Stripe.
    Post
    Something like webpack or rollup. If you're development setup doesn't use a bundler thats fine, there's an example here from one of the issues listed on the repo
  • Byron Fitzgerald

    Replied to the thread SCA Compliance for Stripe.
    Post
    The new intents gateway uses Stripe Elements to process the card info and supplies a token in return, so nothing should popup.

    The JS example in the repo might need a bundler for it to work properly, but the code inside the init() function should work…
  • Byron Fitzgerald

    Replied to the thread Undefined Index page.edit.post.php.
    Post
    The issue seems to be based on the attributes templates. Perch will find any files in the perch/templates/pages/attributes folder and list them in the `Edit page` page. The label is a human readable format of the file names in the folder.

    What files…
  • Byron Fitzgerald

    Replied to the thread SCA Compliance for Stripe.
    Post
    I've got one site running my solution on production right now, with a second waiting client approval. ellimondo has done some testing and managed to get it to work I believe, but not sure if he is running it in production yet.

    If anyone does try it…
  • Byron Fitzgerald

    Post
    These are just warnings, so I doubt this would be causing a 500 error. Most likely it's a server/php configuration issue. Might need to increase some limits in your php.ini or could be down to incorrect URL rewrites.

    Is there a specific page it's…