You don't specify who will be collecting the payment from the final customer. That is, is your customer the final customer, or is your customer the restaurant?

I have ordered food through online order/delivery services. All the ones I used received payment from me, then paid the restaurant. I don't know how the restaurants were paid. (Also, the services I used were "batch oriented". They would accept orders from customers in their service area until 10 am local time, consolidate orders for each restaurant, submit 1 large order to each restaurant, pick up from the restaurants and deliver to the office lobbies of the customers.)

Update: I strongly suspect the restaurants expected their payments when the (batched) orders were sent to them.

Years ago, I wrote an e-commerce web application that used Authorize.Net for payment processing. They supplied sample code in several languages, including Perl. I adapted their Perl code to my application, which then was able to accept credit/debit card payments, receive immediate confirmation, then update the customer's subscription status. Purchase of resources from our suppliers was handled externally to the web application.

(While the company was nice to work for and the work a reasonable challenge, I was quite happy to return the embedded control system industry when that market started to come back as the .com bubble burst (lucky timing for me))


In reply to Re: online commission. without paypal by RonW
in thread online commission. without paypal by bilal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.