php - Creating a Stripe Summary Report -


I recently changed the payment process to the stripe. I now need to make a report for our finance department Which shows a rollup of transactions within the specified date range. I have started using a simple PHP web page (and strip PPP library) which will summarize the following:

  • Calculation of transactions
  • Transaction amount
  • Refund number
  • Fee
  • Fee
  • Net

    I have a problem How to properly teach the fee with the strip for my reporting purposes

    I know that I can get a fee with it: $ charges = Stripe_Charge :: all ();

    By returning the fee, I can calculate the summary information that I need in the report. However, it will only return more than 100 charges to me, and I do not know how to return the fee within a specified date range.

    I hope more experienced bandage developers can point me out

    How can I return all the fees within a specified date range?

    Is there a better way to get this summary information from the strip

    When you have a charge. Protected or charge.refunded event and stores relevant information in that database You control. With this, you will get the flexibility to do the reporting you need. You can already download charges as a CSV from the strip dashboard.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -