itpatrol / pgapi Goto Github PK
View Code? Open in Web Editor NEWPayment Gateway API for Drupal.
License: GNU General Public License v3.0
Payment Gateway API for Drupal.
License: GNU General Public License v3.0
Update provided translation
Use pg_paypal pg_webmoney like example
Hi
https://github.com/itpatrol/pgapi/blob/master/pg_2co/pg_2co.admin.inc#L126
This is bug ? What constant should be in this place ?
Line 79:
'type' => MENU_CALLACK,
need rename to MENU_CALLBACK.
Hi
Notice: Undefined variable: options in function pg_webmoney_list() (строка 110 in file ./pg_webmoney.admin.inc )
$form['list'] = array(
'#type' => 'tableselect',
'#header' => $header,
'#options' => $options,
'#empty' => t('No wallet available.'),
);
For currect redirect after pay bill, need indicate pages url on script. After all payments redirect to page:
payment/[txnid]
Hi
In 7.x module version file paypal/pg_paypal.module:
$form['return'] = array(
'#type' => 'hidden',
'#value' => url(pgapi_get_redirect_url($t), array('absolute' => TRUE)),
);
But 7.x version not have function pgapi_get_redirect_url(). This function delete. And module pgapi not work.
What url will indicated for "return" url ?
Warning: Missing argument 1 for pg_showtransactions_personal_history() in pg_showtransactions_personal_history() (line 3 of pgapi/pg_showtransactions/pg_showtransactions.user.inc).
On page /user/1/showtransactions
I proposed add hook to payment page. This is need for payment system that send payment status in POST param to page success or fail.
Example, Interkassa send status "canceled" to fail page. In pgapi fail and success page is /payment/[txnid].
Error on page payment/[txnid].
Error on page payment/[txnid].
Finish pay by webmoney.
If update purse info, need update purse type.
Notice on page /user/1/showtransactions:
Warning: Missing argument 1 for pg_showtransactions_personal_history() in pg_showtransactions_personal_history() (line 3 of pgapi/pg_showtransactions/pg_showtransactions.user.inc).
Notice: Undefined variable: account in pg_showtransactions_personal_history() (line 23 of /home/serg/domains/pgapi.serg.hank.vps-private.net/sites/all/modules/custom/pgapi/pg_showtransactions/pg_showtransactions.user.inc).
Notice: Trying to get property of non-object in pg_showtransactions_personal_history() (line 23 of /home/serg/domains/pgapi.serg.hank.vps-private.net/sites/all/modules/custom/pgapi/pg_showtransactions/pg_showtransactions.user.inc).
Provide ability to see transactions history (like in pg_showtransaction) via views module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.