Innov-AI     Services     Supporters     Contact     About    
Stripe

Stripe operation.

stripe session

stripe session <jsonItems> <successUrl> <cancelUrl> <secretKey>


Description

    Get a Stripe session

Parameters

    jsonItems:   The json product items - string - required
    successUrl:   The success Url - string - required
    cancelUrl:   The cancel Url - string - required
    secretKey:   The secret key - string - required
admin
stripe session "[{ \"Product\": \"panier\", \"UnitAmount\": \"1500\", \"Currency\": \"eur\", \"Quantity\": \"1\" }]" "https://example.com/success" "https://example.com/success" "sk_test_51IsiEWGHIUO7eOM2EDWveyR4ut35pehnEfetav3xelcwFoT6kKeetedZghHzdMncAddp6DE5XyEA7S4dfgg05pCrr00W3uJEOM7"
mentdb
{"id":"cs_test_a1LtJAdVf1tEsdfgrBpxZQxKtOgg2JTDxKVMK3WbhhhzyiahhhkXKCT83fTbV","object":"checkout.session","allow_promotion_codes":null,"amount_subtotal":1500,"amount_total":1500,"billing_address_collection":null,"cancel_url":"https://example.com/success","client_reference_id":null,"currency":"eur","customer":null,"customer_details":null,"customer_email":null,"livemode":false,"locale":null,"metadata":{},"mode":"payment","payment_intent":"pi_1IsmoMGHIUO7iOM2LNaPh5HP","payment_method_options":{},"payment_method_types":["card"],"payment_status":"unpaid","setup_intent":null,"shipping":null,"shipping_address_collection":null,"submit_type":null,"subscription":null,"success_url":"https://example.com/success","total_details":{"amount_discount":0,"amount_shipping":0,"amount_tax":0}}




© 2012 - 2023