Deterministic validation of billing integrations through simulated time

    公开(公告)号:US11727453B2

    公开(公告)日:2023-08-15

    申请号:US17223329

    申请日:2021-04-06

    Applicant: Stripe, Inc.

    CPC classification number: G06Q30/04 G06F16/2291

    Abstract: A clock data structure is introduced. An instance of the clock data structure can be attached to a billing data structure, such as a billing data structure that corresponds to a recurring payment. The instance of the clock data structure has a value that represents a frozen time—i.e., a specific time that does not change unless instructed to. The billing data structures to which the clock data structure is attached operate as if the real time is the frozen time on the clock. Since the time is frozen, users wishing to test the billing data structure can update their system configurations at specific times, and subsequently advance the time in the clock data structure instance to see the effects on those configurations, as well as on other parts of the system, including asynchronous messaging and processing, and processes that involve other entities.

    SYSTEMS, METHODS, AND APPARATUSES FOR IMPLEMENTING USER CUSTOMIZABLE POLICIES FOR REVENUE RECOGNITION

    公开(公告)号:US20230085889A1

    公开(公告)日:2023-03-23

    申请号:US17479757

    申请日:2021-09-20

    Applicant: STRIPE, INC.

    Abstract: Systems, methods and apparatuses for implementing user customizable policies for revenue recognition are described. In some embodiments, a method comprises: tracking, by a network commerce system, a plurality of transactions; determining one or more revenue recognition rules of a plurality of revenue recognition rules that applies to each transaction of the plurality of transactions based on results of matching performed between conditions of each of the plurality of revenue recognition rules and one or more characteristics of said each transaction, the conditions of each rule including an effective time period during which individual transactions are subject to the rule; and automatically performing revenue recognition for each transaction according to one of the one or more revenue recognition rules determined to apply to said each transaction using based on results of matching conditions of one revenue recognition rule and the one or more characteristics of said each transaction.

    Database locking mechanism
    13.
    发明授权

    公开(公告)号:US12204953B2

    公开(公告)日:2025-01-21

    申请号:US17590206

    申请日:2022-02-01

    Applicant: Stripe, Inc.

    Abstract: A method for preventing race conditions in a database comprises: setting a first numerical entry and a second numerical entry in a database; receiving a first online transaction; responsive to determining a lock of the database is in progress due to a second received online transaction, suspending the first online transaction; removing the lock after the second received online transaction is completed; responsive to determining that the first entry is greater than zero, decrementing the first entry by an amount indicated in the first online transaction; responsive to determining the second entry is greater than zero, decrementing the second entry; processing the first transaction; and generating an online transaction record for the first transaction and storing the generated record in an online transaction database.

    Database race condition prevention
    14.
    发明授权

    公开(公告)号:US12111822B2

    公开(公告)日:2024-10-08

    申请号:US17489062

    申请日:2021-09-29

    Applicant: Stripe, Inc.

    CPC classification number: G06F16/2379 G06F16/2343 G06Q10/087

    Abstract: A method comprises: setting an first entry and an second entry in a database; receiving a first online transaction; responsive to determining a lock of the database is in progress, suspending the first online transaction; updating the first entry; removing the lock; receiving a second online transaction; responsive to determining that the first field is greater than zero, decrementing the first field by an amount indicated in the second online transaction; and responsive to determining the second entry is greater than zero, decrementing the second entry.

    Usage record aggregation
    15.
    发明授权

    公开(公告)号:US11899663B2

    公开(公告)日:2024-02-13

    申请号:US17476243

    申请日:2021-09-15

    Applicant: Stripe, Inc.

    CPC classification number: G06F16/24539 G06F16/244

    Abstract: In an example embodiment, a solution is provided that aggregates records as they are submitted to a third party (on the write path) rather than performing a real-time aggregation when a request is processed that needs the aggregation (read path). More particularly, in an example embodiment, a caching layer is introduced that avoids having to read all usage events to compute an aggregation when a request is received for aggregated data. The caching layer maintains values for various metrics that require aggregation.

    Cross-platform contract validation
    16.
    发明授权

    公开(公告)号:US11811604B2

    公开(公告)日:2023-11-07

    申请号:US17204398

    申请日:2021-03-17

    Applicant: STRIPE, INC.

    CPC classification number: H04L41/0869 G06F11/3664 G06F11/3688

    Abstract: A method and apparatus for performing cross-platform contract validation are described. In one embodiment, the method for validating compatibility between first and second endpoints, the method comprising: accessing a memory storing a machine-readable contract specifying a request-response pair in a file, the request-response pair consisting of an expected request that the second endpoint expects to receive from the first endpoint and an expected response that should be provided by the second endpoint according to the expected request from the first endpoint; and performing multi-platform contract validation by performing independent tests for the first and second endpoints, using the expected request and expected response specified in the machine-readable contract.

    USAGE RECORD AGGREGATION
    17.
    发明申请

    公开(公告)号:US20230084078A1

    公开(公告)日:2023-03-16

    申请号:US17476243

    申请日:2021-09-15

    Applicant: Stripe, Inc.

    Abstract: In an example embodiment, a solution is provided that aggregates records as they are submitted to a third party (on the write path) rather than performing a real-time aggregation when a request is processed that needs the aggregation (read path). More particularly, in an example embodiment, a caching layer is introduced that avoids having to read all usage events to compute an aggregation when a request is received for aggregated data. The caching layer maintains values for various metrics that require aggregation.

    CONSTANT-TIME CASCADING DELETION OF RESOURCES

    公开(公告)号:US20220414678A1

    公开(公告)日:2022-12-29

    申请号:US17360113

    申请日:2021-06-28

    Applicant: STRIPE, INC.

    Abstract: A method and apparatus for deleting resources are described. In one embodiment, the method comprises: detecting, by a network commerce system, a deletion request in a first message sent over a network as an electronic communication to delete a first resource; identifying one or more additional resources that have a hierarchical relationship to the first resource, including identifying one or more child resources related the first resource, the one or more child resources being in a parent-child relationship with the first resource as the parent; causing a module of the network commerce system to perform a delete action with respect to the first resource, where the delete action deletes the first resource and causes the one or more child resources to be deleted in the future and to appear deleted when receiving access requests prior to deletion of the one or more child resources; detecting, by the network commerce system, an access request in a second message sent over the network as an electronic communication to access one child resource of the one or more child resources after deletion of the first resource but prior to deletion of the one child resource; determining, in response to the access request, if the first resource has been deleted; and denying access to the one child resource if the first resource is determined to have been deleted.

    DETERMINISTIC VALIDATION OF BILLING INTEGRATIONS THROUGH SIMULATED TIME

    公开(公告)号:US20220318864A1

    公开(公告)日:2022-10-06

    申请号:US17223329

    申请日:2021-04-06

    Applicant: Stripe, Inc.

    Abstract: A dock data structure is introduced. An instance of the clock data structure can be attached to a billing data structure, such as a billing data structure that corresponds to a recurring payment. The instance of the clock data structure has a value that represents a frozen time—i.e., a specific time that does not change unless instructed to. The billing data structures to which the clock data structure is attached operate as if the real time is the frozen time on the clock. Since the time is frozen, users wishing to test the billing data structure can update their system configurations at specific times, and subsequently advance the time in the clock data structure instance to see the effects on those configurations, as well as on other parts of the system, including asynchronous messaging and processing, and processes that involve other entities.

Patent Agency Ranking