1
Answers
Vote up!
0
Vote down!

Batch Payments

Hi,

Where I'm from, our payment gateway provider uses mobile money without an API, but is able to provide data in XLS or CSV format on demand. They provide you with the account number (username), amount paid, unique transaction code and time stamp.

I'm trying to figure out how I would take this file, with thousands of transactions, upload it to extract the data and then tick off who has paid their recurring monthly subscription. Using rules, you can then trigger something to notify those who haven't paid.

To be honest, I am a bit lost. Anyone have an idea?

Nick

Asked by: Nick Gentile
on October 2, 2014

1 Answer

Vote up!
1
Vote down!

You have two options when you have a list of data and need it to be in your site and reacted on:

1. Feeds

I'm more familiar with Feeds and think you *might* be able to do with this with minimal code if somehow you get it to create payment transactions (which are entities) on the correct Orders (also entities).

2. Migrate

We often recommend skipping Feeds and it's odd user interface for the plain and simple (and now in Drupal 8 core) Migrate module. It gives you the whole of the PHP world to modify and react to data before saving it to the Drupal site using very handy and extensible Object Oriented methods.

Good luck!

Josh Miller
Answer by: Josh Miller
Posted: Oct 3, 2014