Help- Paypal Extension Needed

Author Message

Clay Pereira

Thursday 22 July 2004 6:44:29 pm

Hello I just finished my store and need to get to work on the paypal modification for the Worldpay extention. Cany anyone give me a starting point. I really need to get this done ASAP. Thank You.

Tony Wood

Thursday 22 July 2004 11:38:32 pm

Hi,

The code for both will be very similar you should be able to modify the worldpay event adnd callback to get the extension to work with paypal.Both Paypal and Worldpay from the outside look very similar, so this method will work.

however, it looks like eZ are adding paypal to v3.5 of eZ publish http://pubsvn.ez.no/websvn/listing.php?repname=nextgen&path=/trunk/kernel/paypal/&rev=0&sc=1 So you could take a look at the code there for pointers.

The only problem I have with the eZ code is that it is in the kernel and not an extension which means changing it will be a pain.

Still lots of options.

I hope this helps

-- tony
http://www.visionwt.com

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Brendan Pike

Friday 23 July 2004 2:42:56 am

It would seem to be strange not to make it an extension. IMHO I would prefer worldpay to be supported before PayPal simply because it carries more currency support. And lets hope shipping gets a serious lookin for 3.5 :)

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 20 2025 03:28:53
Script start
Timing: Jan 20 2025 03:28:53
Module start 'layout'
Timing: Jan 20 2025 03:28:53
Module start 'content'
Timing: Jan 20 2025 03:28:54
Module end 'content'
Timing: Jan 20 2025 03:28:54
Script end

Main resources:

Total runtime1.2572 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.1563152.6250
Module start 'layout' 0.00570.0035 741.781339.4453
Module start 'content' 0.00931.2463 781.2266567.3516
Module end 'content' 1.25560.0016 1,348.578112.1641
Script end 1.2571  1,360.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2688160.0002
Check MTime0.00150.1159160.0001
Mysql Total
Database connection0.00090.073610.0009
Mysqli_queries1.214396.5939590.0206
Looping result0.00060.0448570.0000
Template Total1.218997.020.6095
Template load0.00190.151020.0009
Template processing1.217096.807520.6085
Template load and register function0.00020.017710.0002
states
state_id_array0.00130.107410.0013
state_identifier_array0.00360.287320.0018
Override
Cache load0.00150.1192160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.051530.0002
Fetch class attribute name0.00100.080340.0003
XML
Image XML parsing0.00060.051530.0002
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00080.0658160.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs