Yes advices are always easier than coding (at least when they are goods it
helps ;o)
Jacques
From: <[email protected]>
Hi Ashish,
all those requests are really make sense to me but I didn't know when we can
implement it.
I'm now changing PayflowPro integration to support new version 4 because from
September 2009 v2 & v3 will be no more function.
In the same moment I willl support new PaymentGatewayConfig for PayflowPro.
I have also made same changes to support Google Checkout integration with PaymentGatewayConfig but there are still a lot of
gateways to be converted to the new configuration (ClearCommerce, Authorize dot net, CyberSource, PcCharge, RIta, ValueLink,
WorldPay).
Thanks
Marco
Il giorno 14/apr/09, alle ore 10:11, Ashish Vijaywargiya ha scritto:
Hello Marco,
Thanks for your wonderful work in this area.
I truly appreciate your efforts.
Here are few thoughts / comments :
1) We are saving password as it is.
https://localhost:8443/accounting/control/ViewGatewayConfiguration?paymentGatewayConfigId=PAYFLOWPRO_CONFIG
I think we should encrypt the password before saving it to database and will not show the password as it is while fetching it
from database.
Thoughts ?
2) We should change the name of service in the service definition and
implementation.
For example you have used "updateGatewayConfiguration" instead of this if we use "updatePaymentGatewayConfig" then it will help
developers to easily see the referenced entity.
Same applies to other references like updateGatewayConfigurationPayflowPro,
updateGatewayConfigurationClearCommerce .... etc.
3) We should change request map entries to follow the best practice as well.
For ex : ViewGatewayConfigurationType, ViewGatewayConfiguration can be changed EditPaymentGatewayConfigType &
EditPaymentGatewayConfig respectively.
I am requesting you to change this now (Refer #3 & #4 points) because newcomers start coding and can take reference of this
code.
4) Do you have some some plan to provide the form and services to create new "PaymentGatewayConfig" & "PaymentGatewayConfigType"
records ?
--
Ashish Vijaywargiya
[email protected] wrote:
Author: mrisaliti
Date: Thu Apr 9 19:45:31 2009
New Revision: 763782
URL: http://svn.apache.org/viewvc?rev=763782&view=rev
Log:
Move payment.properties to PaymentGatewayConfig entities (OFBIZ-2269)
Added:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/
payment/PaymentGatewayConfigServices.xml (with props)
ofbiz/trunk/applications/accounting/servicedef/ services_paymentgateway.xml
(with props)
ofbiz/trunk/applications/accounting/widget/
PaymentGatewayConfigurationsForms.xml (with props)
ofbiz/trunk/applications/accounting/widget/
PaymentGatewayConfigurationsScreens.xml (with props)
ofbiz/trunk/applications/product/webapp/catalog/WEB-INF/actions/
store/EditProductStorePaySetup.groovy (with props)
Modified:
ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml
ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml
ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml
ofbiz/trunk/applications/accounting/ofbiz-component.xml
ofbiz/trunk/applications/accounting/servicedef/ services_paymentmethod.xml
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/
payment/PaymentGatewayServices.java
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/ controller.xml
ofbiz/trunk/applications/accounting/widget/Menus.xml
ofbiz/trunk/applications/product/config/ProductUiLabels.xml
ofbiz/trunk/applications/product/entitydef/entitymodel.xml
ofbiz/trunk/applications/product/servicedef/services_store.xml
ofbiz/trunk/applications/product/webapp/catalog/store/ ProductStoreForms.xml
ofbiz/trunk/applications/product/widget/catalog/StoreScreens.xml
ofbiz/trunk/specialpurpose/ecommerce/data/DemoFinAccount.xml
ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml
ofbiz/trunk/specialpurpose/ecommerce/data/DemoRentalProduct.xml
ofbiz/trunk/specialpurpose/ecommerce/data/
DemoStoreGiftCertificateSettings.xml
ofbiz/trunk/specialpurpose/pos/data/DemoRetail.xml
ofbiz/trunk/specialpurpose/webpos/data/DemoPosData.xml
Modified: ofbiz/trunk/applications/accounting/config/ AccountingUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/config/AccountingUiLabels.xml?rev=763782&r1=763781&r2=763782&view=diff
= = = = = = = = =
=====================================================================
--- ofbiz/trunk/applications/accounting/config/ AccountingUiLabels.xml
(original)
+++ ofbiz/trunk/applications/accounting/config/ AccountingUiLabels.xml Thu Apr
9 19:45:31 2009
@@ -5474,6 +5474,30 @@
<value xml:lang="th">รายà¸à¸²à¸£à¸ªà¸-าà¸Tะà¸à¸
¥à¸¸à¹^มà¸oูà¹?à¹fà¸Sà¹?</value>
<value xml:lang="zh">ä¼så'~è§'è?²å^-表</value>
</property>
+ <property key="AccountingPayflowProLoggingOff">
+ <value xml:lang="en">Logging Off</value>
+ <value xml:lang="it">Log disabilitato</value>
+ </property>