Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log to record the transcations #27

Closed
mingxing opened this issue Jan 26, 2016 · 2 comments
Closed

Add log to record the transcations #27

mingxing opened this issue Jan 26, 2016 · 2 comments

Comments

@mingxing
Copy link

Hi guys

Great job! I would like to see whether we can add a log or event listener to record the transactions, just like another plugin: Plugin/PaypalIpn/Controller/InstantPaymentNotificationsController.php

Listens for Saved Events in this function public function afterPaypalNotification($txnId)

Best Regards
Simon

@mingxing
Copy link
Author

Perhaps the log config is a solution:

‘’‘<?php
CakeLog::config('stripe', array(
'engine' => 'FileLog',
'types' => array('info', 'error'),
'scopes' => array('stripe'),
'file' => 'stripe',
’‘’));

Do you have some suggestion?

Simon

@chronon
Copy link
Owner

chronon commented Jan 26, 2016

At the bottom of the README in the configuration section there is an example logging config which will enable logging.

@chronon chronon closed this as completed Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants