News:

Support the VirtueMart project and become a member

Main Menu

Custom Paypal Plugin

Started by Alberto87, May 12, 2014, 14:52:57 PM

Previous topic - Next topic

Alberto87

Hello,

i need to modify the plugin of paypal because the company where now i actually work want to implement the setefi backend.

Setefi office sent me a pdf with the instruction to create a message before the data will be sent to the server paypal.

The process  will be the following:

Customers select paypal payment, user data will be redirect in server setefi and after will be redirect to the paypal server, the customers pay, before the customers back to the shop the data return in the server of setefi (to check the status and update the backend) in the end the customers came back  to the shop.

The code:

the messsage:
Protocol
HTTP
Metodo
POST
Content-Type
URL Encoded (legacy): application/www-form-urlencoded or application/x-www-form-urlencoded
URL OF TEST
https://test.monetaonline.it/monetaweb/payment/2/xml

example of message:
id=99999999&password=99999999&operationType=initializepaypal&amount=1.00&currencyCode
=978&responseToMerchantUrl=http://www.merchant.it/notify.jsp&
recoveryUrl=http://www.merchant.it/error.jsp&merchantOrderId=TRCK0001&description=Descrizio
ne&
cardHolderName=NomeCognome&cardHolderEmail=nome@dominio.com&
customField=campoPersonalizzabile

please can you help me ? because i exactly dont know how to start.. ;)

regards

Alberto

p.s. Virtuemart Version 2.20b Joomla 2.5.14

GJC Web Design

Have no idea what setefi is but if you want to basically send the data to monetaonline who then sends it to Paypal then you need to build a monetaonline payment gateway plugin ....

trying to adapt the (now extremely complex ) Paypal plugin is a a waste of time..
better to start from scratch
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation