Skip to content
Snippets Groups Projects

Checkout oauth

Merged Brian Hatchet requested to merge brianhatchet/engine:checkout-oauth into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -13,7 +13,7 @@ class checkout implements Interfaces\Api
{
public function get($pages)
{
$checkoutKey = ['checkout_key' => base64_encode(openssl_random_pseudo_bytes(8))];
$checkoutKey = ['checkout_key' => base64_encode(openssl_random_pseudo_bytes(8)), 'usd' => $_GET['usd'] ?? 25];
$cookie = new Cookie();
$cookie
->setName('checkout_key')
Loading