Closed (fixed)
Project:
Webform Paypal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2011 at 19:36 UTC
Updated:
10 Oct 2011 at 18:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
avr commentedAnd here's the patch.
Comment #2
avr commentedUpdated patch - previous patch broke the submission/button ID.
Comment #3
mrf commentedStill wrapping my head around the paid / unpaid thing and testing the patch, but I like the direction this is going.
I really like the private field addition, any chance you could move that to a separate issue with its own patch? I could test that separately and simplify how much is being changed here.
Comment #4
avr commented@mrf
The "private" field is actually part of Webform - so it should be just built in now that it's included in the component.
I haven't really worked with PayPal much, but after looking at their info, i think the 'callback' should be possible. It probably would be easy enough to look into Commerce to see how they are handling the postback/update information.
I also went ahead and added a few more options for my own needs - they aren't 'flexible' but I'll post to a sandbox if you want to take a look.
Comment #5
mrf commentedHi avr, here is some initial feedback on the patch. I still haven't thoroughly tested everything, but wanted to offer some tips while I'm still working on it.
This is probably a useful UI addition but should be pulled into a separate issue to simplify this one.
Nitpicky change, but shouldn't be spaces at beginning of this line.
Drupal devs usually prefer the long form to help increase readability of code.
Ditto to above about long form usage.
Comment #6
mrf commentedWent ahead and made the above changes and committed to 7.x-1.x-dev.
Thanks for the useful addition avr!
Comment #7
avr commentedThanks for the feedback - very helpful!