Coder Social home page Coder Social logo

aspjson's Introduction

Hello there ๐Ÿ‘‹

  • ๐Ÿ‘จโ€๐Ÿ’ป I'm a software engineer with more than 8 years of XP high quality and scalable software for mobile and web platforms
  • ๐Ÿ’ผ helping Ecoation on their mission to help growers put good food on our tables
  • ๐Ÿคฉ i love software development in general, technology, anime, games, movies and my family
  • ๐ŸŽฎ as a hobby, I have a lot of fun making games

Techs

Main tech I work with

JavaScript TypeScript CSS3 HTML5 React React Native Redux SASS Webpack NodeJS Express.js NestJS Next JS Jest Testing-Library GraphQL Apollo-GraphQL

I also have some XP with

Android iOS Angular Vue.js RxJS Laravel Spring Kotlin Java Docker PHP Python MySQL Postgres MongoDB Shell Script C++ C# Unity Godot

Reach out

Linkedin Itch.io

That's it!

Ok, now that we've been properly introduced... ๐Ÿฅ

... feel free to check any of my public repos down here ๐Ÿ‘‡๐Ÿฝ

aspjson's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aspjson's Issues

Reading sub item / array

Hi there.

Thanks for setting up this git.

I have some sample code i am getting from paypal.

I would like to get the 'custom_id' variable (in: purchase_units)
I tried custom_id = oJSON.data("purchase_units").item("custom_id") but it was empty.
How would i access it? Is it different being within an array?

Thanks

{
  "id": "94151283KB577953A",
  "intent": "CAPTURE",
  "status": "COMPLETED",
  "payment_source": {
    "paypal": {
      "email_address": "[email protected]",
      "account_id": "A95TCZ88AZQMU",
      "account_status": "UNVERIFIED",
      "name": {
        "given_name": "mo",
        "surname": "Test"
      },
      "address": {
        "country_code": "IL"
      }
    }
  },
  "purchase_units": [{
    "reference_id": "default",
    "amount": {
      "currency_code": "USD",
      "value": "7.50",
      "breakdown": {
        "item_total": {
          "currency_code": "USD",
          "value": "7.50"
        }
      }
    },
    "payee": {
      "email_address": "[email protected]",
      "merchant_id": "C832PPP4ECVRN"
    },
    "description": "Demo Product",
    "custom_id": "DP12345",
    "soft_descriptor": "PAYPAL *TEST STORE",
    "items": [{
      "name": "Demo Product",
      "unit_amount": {
        "currency_code": "USD",
        "value": "7.50"
      },
      "quantity": "1",
      "description": "Demo Product",
      "category": "DIGITAL_GOODS"
    }],
    "shipping": {
      "name": {
        "full_name": "mo Test"
      },
      "address": {
        "address_line_1": "Arba St",
        "admin_area_2": "Tel Aviv",
        "country_code": "IL"
      }
    },
    "payments": {
      "captures": [{
        "id": "8KS14127A2501944D",
        "status": "COMPLETED",
        "amount": {
          "currency_code": "USD",
          "value": "7.50"
        },
        "final_capture": true,
        "seller_protection": {
          "status": "ELIGIBLE",
          "dispute_categories": ["ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION"]
        },
        "seller_receivable_breakdown": {
          "gross_amount": {
            "currency_code": "USD",
            "value": "7.50"
          },
          "paypal_fee": {
            "currency_code": "USD",
            "value": "0.43"
          },
          "net_amount": {
            "currency_code": "USD",
            "value": "7.07"
          },
          "receivable_amount": {
            "currency_code": "ILS",
            "value": "25.09"
          },
          "exchange_rate": {
            "source_currency": "USD",
            "target_currency": "ILS",
            "value": "3.5487075"
          }
        },
        "custom_id": "DP12345",
        "links": [{
          "href": "https://api.sandbox.paypal.com/v2/payments/captures/8KS14127A2501944D",
          "rel": "self",
          "method": "GET"
        }, {
          "href": "https://api.sandbox.paypal.com/v2/payments/captures/8KS14127A2501944D/refund",
          "rel": "refund",
          "method": "POST"
        }, {
          "href": "https://api.sandbox.paypal.com/v2/checkout/orders/94151283KB577953A",
          "rel": "up",
          "method": "GET"
        }],
        "create_time": "2023-11-27T21:30:56Z",
        "update_time": "2023-11-27T21:30:56Z"
      }]
    }
  }],
  "payer": {
    "name": {
      "given_name": "mo",
      "surname": "Test"
    },
    "email_address": "[email protected]",
    "payer_id": "A95TCZ88AZQMU",
    "address": {
      "country_code": "IL"
    }
  },
  "create_time": "2023-11-27T21:30:42Z",
  "update_time": "2023-11-27T21:30:56Z",
  "links": [{
    "href": "https://api.sandbox.paypal.com/v2/checkout/orders/94151283KB577953A",
    "rel": "self",
    "method": "GET"
  }]
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.