Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~356 People Reached
Favorite Forums
Favorite Tags
php x 1
Member Avatar for Ben_33

<?php require_once('../vendor/autoload.php'); if (!isset($_POST["cart_payload"])) { echo "PAYLOAD NOT SET"; } $items = json_decode($_POST["cart_payload"], true); $line_items = array(); foreach ($items as $item) { $line_items[] = array( $target = 'images/'; $target = $target . basename( $_FILES['image']['name']) 'name' => $item["title"], 'image' => $FILES["image"], 'amount' => $item["price"]*100, 'currency' => 'gbp', 'quantity' => $item["quantity"], ); …

Member Avatar for rproffitt
0
356