Plugin Directory

Changeset 2711180


Ignore:
Timestamp:
04/18/2022 06:24:57 PM (4 years ago)
Author:
usedrip
Message:

format expiration time

Location:
drip-payments/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • drip-payments/trunk/drip-payments.php

    r2711177 r2711180  
    193193                    'offline' => true,
    194194                    'online' => false,
    195                     'expiration' => $now->add(new DateInterval('PT5M'))
     195                    'expiration' => $now->add(new DateInterval('PT5M'))->format('Y-m-d H:i:s')
    196196                ]);
    197197
  • drip-payments/trunk/src/DripPaymentsCheckoutRequest.php

    r2707133 r2711180  
    137137            'offline' => true,
    138138            'online' => false,
    139             'expiration' => $now->add(new DateInterval('PT5M'))
     139            'expiration' => $now->add(new DateInterval('PT5M'))->format('Y-m-d H:i:s')
    140140        ]);
    141141        if(function_exists('update_option')) {
Note: See TracChangeset for help on using the changeset viewer.