Pay with Pay.jp provides integration with the Pay.jp payment gateway of Japan.
This module uses the Pay.jp PHP library provided by Pay.jp
to carry out the integration along with payment gateway.
This module provides functionality which can be extended depending upon the project requirement.
Project page: Pay with Pay.jp
Clone Repository:
git clone --branch 7.x-1.x git://git.drupal.org/sandbox/aniki47/2656004.git pay_with_pay_jp
REQUIREMENTS
This module requires the following modules:
* Libraries (https://www.drupal.org/project/libraries)
And a PHP library:
* Pay.jp PHP library which can be downloaded as zip file here.
INSTALLATION
1. Install as you would normally install a contributed Drupal module. See:
https://www.drupal.org/documentation/install/modules-themes/modules-7
for further information.
2. Place the Payjp PHP library in the DRUPAL_ROOT/sites/all/libraries/
directory. Rename the unzipped library folder name to 'payjp'.
CONFIGURATION
* Go to Administration » Configuration » Services » Payjp module settings:
Set the Secret API Key accordingly.
Choose the environment depending the upon, whether the site is in Development
phase or production phase.
According to the modules you enabled, you can now start using the payment
gateway depending upon the project requirement
Further documentation about the Pay.jp payment gateway can be found at: https://pay.jp/docs/api/?php#introduction
Comments
Comment #2
anikettoComment #3
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxaniki472656004git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
anikettoFixed the errors/warnings reported by PA robot.
PAReview Result :
http://pareview.sh/pareview/httpgitdrupalorgsandboxaniki472656004git
Comment #5
anikettoComment #6
anikettoComment #7
anikettoComment #8
anikettoComment #9
ashwinshHello aniki47,
My findings for your module as follows:
pay_with_pay_jp.module
Line 57 and Line 66: The value for the 'access callback' must always be a string which is the the name of the function - never a function call. It may also be assigned the value TRUE or FALSE if the callback is always (or never) accessible. See https://www.drupal.org/node/109157
'access callback' => array('user_access'),to
'access callback' => 'user_access',Thank you,
Comment #10
jphuxley commentedAutomated Review
A couple of minor coding standards issues: https://pareview.sh/node/1547
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Overall the code looks fine, I think after you have solved the access callback issue it should be ready for RTBC.
Comment #11
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.