Commit graph

51 commits

Author SHA1 Message Date
Olaf Alders
8b755e0e66 Merge pull request #3 from bkuhn/profile-id-and-subscription-search-tests
Support ProfileID in TransactionSearch,  and add subscription search tests that use it.
2015-01-02 22:48:03 -05:00
Bradley M. Kuhn
dd503a3080 Remove unnecessary use floating around in code.
@oalders noted in patch review on a pull request:
> Looks like this might be left over from debugging?

And he was indeed correct. ;)

I've removed the use.  Data::Dumper isn't used by this test.
2015-01-02 11:44:02 -05:00
Bradley M. Kuhn
7aeeb15fcf Consolidate use's to top of file.
@oalders suggests in a comment on my pull request:
> Could we move this use up to to the top of the file with the others?

So I've done so here.
2015-01-02 11:43:21 -05:00
Bradley M. Kuhn
9045d3d511 Switch to use autodie to simplify code.
@oalders suggests in a pull request comment:
> If we use autodie then we won't need to check for success on open().

I've made this change to accommodate that suggestion.
2015-01-02 11:42:10 -05:00
Bradley M. Kuhn
c5f62dbdb1 Beginnings of tests for subscription payments.
These tests verify a TransactionSearch for ProfileID, and also serve as
an example of the method to find subscriptions using that method.

I've also added to the test a creation of an HTML form that can be used
to create a transaction that will allow the test to pass.  This is a
hack, not unlike the hacks existing in the tests now that ask for
pasting of a transaction ID.  Long term, if someone wants to do the
work, using WWW:Mechanize or some other method for full automation of
these tests might be useful, but I think the generated HTML file is a
step forward from the cut-and-paste solution currently in use.
2015-01-01 17:47:47 -05:00
Bradley M. Kuhn
7198b854b9 Add SellerEmail variable for testing data.
There are some situations were having the email address of the seller is
useful for testing.  This change allows for it as a parameter to the
tests.
2015-01-01 17:47:38 -05:00
Bradley M. Kuhn
5f4261beda ProfileID is a valid search term for TransactionSearch in the PayPal SOAP API:
I learned this by reading:
 https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/TransactionSearch_API_Operation_SOAP/
2015-01-01 17:47:22 -05:00
Olaf Alders
dd9a1c6ab7 Cleans up some code samples in docs. 2014-07-14 12:58:51 -04:00
Olaf Alders
2d5812cf10 Minor cleanup, mostly around debugging. 2014-03-23 00:40:54 -04:00
Olaf Alders
3878e90817 Tidy everything. 2014-03-22 22:31:50 -04:00
Olaf Alders
a722bb555c Adds tidyallrc. 2014-03-22 22:31:16 -04:00
Olaf Alders
f43cf40ae0 Adds CONTRIBUTING.md 2014-03-21 23:51:22 -04:00
Olaf Alders
cde02d0238 Adds dist.ini 2014-03-21 23:45:32 -04:00
Olaf Alders
6258957c4b Merge pull request #2 from dsteinbrunner/patch-1
typo fix
2014-02-01 19:33:50 -08:00
David Steinbrunner
3fd26ff6ea typo fix 2014-02-01 20:42:30 -05:00
Olaf Alders
1a00fd0eb6 Adds Business::PayPal::API::GetBalance (via Henning Brauer). 2013-11-15 18:06:41 -05:00
Olaf Alders
df4a0c5797 Lets dzil handle version. 2013-11-15 18:06:41 -05:00
Olaf Alders
1da2b1bfb8 Merge pull request #1 from neilbowers/master
Reformatted as per CPAN::Changes::Spec
2013-08-19 20:53:28 -07:00
Neil Bowers
9f1d0adf0d Update to metadata to refer to current github repo 2013-08-18 10:52:28 +01:00
Neil Bowers
02b046373b Reformatted as per CPAN::Changes::Spec 2013-08-18 10:27:51 +01:00
Olaf Alders
091bc52485 Bumps version to 0.70 for release. 2012-11-14 00:10:47 -05:00
Olaf Alders
59897ec265 Fixes RT #70424
https://rt.cpan.org/Public/Bug/Display.html?id=70424
2012-11-14 00:05:49 -05:00
Dave Lambley
2db45ef69e Massage a little more. 2011-11-11 17:37:37 +00:00
Dave Lambley
4c016629cf GetTransactionDetails should get items details even for just one item.
https://rt.cpan.org/Public/Bug/Display.html?id=67386
2011-11-11 17:35:55 +00:00
Dave Lambley
f9788b347b Correct changelog. 2011-11-11 17:33:14 +00:00
Dave Lambley
1c171555ed Bump with https://rt.cpan.org/Public/Bug/Display.html?id=70424 2011-11-11 17:32:31 +00:00
Dave Lambley
737aeb3740 Fix warning in Perl 5.14.x, hopefully. 2011-11-11 17:30:10 +00:00
Dave Lambley
eceb9d2d50 Fix more names. 2011-11-11 17:22:00 +00:00
Dave Lambley
bc6ebe07d1 Fix name. 2011-11-11 17:21:13 +00:00
Dave Lambley
5cc5a3c19b Add debian packaging. 2011-11-11 17:15:50 +00:00
Dave Lambley
f727169dca Update changelog. 2011-11-11 17:09:49 +00:00
Dave Lambley
ea4f430f9a Bump to mention currently release version. 2011-11-11 17:06:36 +00:00
Dave Lambley
d1a4d0d801 Merge branch 'master' of git://github.com/bobtfish/Business-PayPal-API 2011-11-11 17:04:07 +00:00
Ron Phipps
b26b38b23d * Reduced required version of SOAP 2010-04-15 19:27:01 -04:00
Ron Phipps
43547671b6 * Added support for protection eligbility 2010-04-15 18:37:54 -04:00
Dave Lambley
13586cff9b The payer's country is not necessarily the same as the shipping address. If
they're different, we probably want it visible.
2010-01-27 17:40:03 +00:00
Dave Lambley
086d7f2f96 "Suffix" a little too vague. 2010-01-27 17:36:12 +00:00
Dave Lambley
f9fec03e72 Add PayerName fields documented by PayPal.
(Seen in https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_api_soap_r_GetExpressCheckoutDetails)
2010-01-27 17:30:55 +00:00
Tomas Doran (t0m)
918e062e2c Add repository metadata to the generated META.yml so that people know where to find the git repository 2010-01-26 14:54:31 +00:00
Tomas Doran (t0m)
a6665b3df3 Add a MANIFEST.SKIP 2010-01-26 14:54:31 +00:00
Tomas Doran (t0m)
b770fbdf6b Remove MANIFEST, this should also be a generated file 2010-01-26 14:54:31 +00:00
Tomas Doran (t0m)
f6d5556636 Add a .gitignore 2010-01-26 14:54:27 +00:00
Tomas Doran (t0m)
716f19057c META.yml should be a generated file, and therefore should not be kept in revision control 2010-01-26 14:47:34 +00:00
Tomas Doran (t0m)
336027b0c6 We are not in CVS, this is unused anywhere 2010-01-26 14:32:13 +00:00
Danny Hembree
a43cf01976 Updated Change file to show changes to .62 version 2009-12-07 01:17:52 -08:00
Danny Hembree
63c5cfa216 Modified RecurringPayments.pm to prevent test failures. Module still is not fully functional in that it doesn't set payments correctly. 2009-12-07 01:00:56 -08:00
Danny Hembree
d92e94b703 Corrected errors int RecurrintPayments.t and TransactionSearch.t 2009-12-06 23:10:55 -08:00
Danny Hembree
04de06bbf5 Modified pods in modules to reflect test for Success+ return values. 2009-12-05 01:41:45 -08:00
Danny Hembree
47b68fb3e8 Made changes to Success checks in all test and in API.pm so that SuccessWithWarning won't cause failure. 2009-12-04 02:42:41 -08:00
Danny Hembree
c2bf6d6357 Modified API.pm to for looser Success test and corrected boolean test with undefined variable. 2009-12-03 13:42:54 -08:00