Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

Stripe property called by php

  • agaudin
  • agaudin
  • ONLINE
  • Posts: 84
  • Thanks: 16
  • Karma: 3
17 hours 54 minutes ago - 17 hours 3 minutes ago #339722 by agaudin
Stripe property called by php was created by agaudin
Hello

I use CBuilder with Stripe (I listened your advices and switched to Stripe, you were right it's amazing !). I would like to get a unix time deeply inside Stripe Payment_Intent object to cross manual paiements made in Stripe with CBuilder made ones. I transfered Payment_intent  in a php multidimensionnal array $paiement, and I can get all I want it work well, like $paiement , except the following date :

STRIPE Object :
Payment_intent {
    "charges": {   
            "data": [
                    "0": {
                        "created": MY_DATE
Neither  $paiement [0]        neither     $paiement        work (code is removed when published, see image).
 
I'm quite sure it's because data opens with [ and not  { but I'm reaching my php limits...

Even if it is a bit out of Cbuilder, would you be nice to tell me how to type it correctly ? Best regards
Antoine.
Last edit: 17 hours 3 minutes ago by agaudin. Reason: code is removed when published, see image

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum