Show Posts


Messages - camcguir

Pages: [1]
1
Extension Support / Re: Gift Certificate and PayPal
« on: August 14, 2014, 11:18:18 AM »
Yes, I'm using PayPal Sandbox, but that's not really what I'm getting at.

I'm a C# programmer, but interested in PHP.  I'm used to using Visual Studio to debug C# or the browser to debug JS.  I haven't had much exposure to PHP, but I'm getting there.  I'm wondering how I can debug PHP using breakpoints, inspecting live objects, walking through code, etc.

Thanks!

2
Extension Support / Re: Gift Certificate and PayPal
« on: August 13, 2014, 10:00:23 PM »
Awesome!  Thanks!  It worked, but the first time I ran it, something funky happened.  It passed 2 virtual products in the header request to PayPal.  I must have been something in my cache from yesterday.  I emptied the cart, made a $0 purchase, and then tried again.  The 2nd time it worked.

I was thinking that it was something like this, but I could not find the functions; hence, I didn't know they were called "Virtual Products".  I basically wrote the same code but used $gifts, and know 'get' method. 

Any suggestions on how I can debug PHP from the server side? (I'm ok with reference links)

Thanks, again, for the help!

3
Extension Support / Gift Certificate and PayPal
« on: August 13, 2014, 02:29:26 AM »
Hey all,

Not sure where to turn to on this one.  I am using PayPal standard (sandbox) with the Gift Certificate extension.  When attempting to purchase a gift certificate, PayPal returns a response of "Your shopping cart is empty."  I looked at the post in the browser and compared it to a successful post, and it appears that Gift Certificates are not being treated as normal products.  The following parameters are missing the post:

item_name_(i)
item_number_(i)
amount_(i)
quantity_(i)
weight_(i)

Not that quantity/weight are important, but these are the missing parameters; everything else is there.  I did some digging, but honestly PHP isn't my thing.  I'm assuming that somehow the GCs are not being passed into the Products array, so when the product loop occurs in the PayPal extension, the GCs do not appear. Or maybe in the controller the specific GC fields are not being mapped.  I'm at a loss.  Any help that you can provide or even a direction as to where I need to start looking is more than appreciated.  Thanks!

4
Customization help / Re: Custom Report
« on: August 04, 2014, 01:07:12 PM »
Thanks!  I'll have to look into that documentation.  I did notice the well-placed language in the source files about being cautious of making changes, but being a newbie to PHP and AbanteCart, I also wanted to ensure that I had a good grasp on how the design pattern was implemented.  I didn't see this extension information before, so thanks, again. 

On a side note, do you have any recommendations of PHP debugging tools? 

5
Customization help / Custom Report
« on: August 03, 2014, 11:20:01 PM »
I wanted to create a custom report to provide my client with a list of customers that purchased products (coined as events).  The report is similar to the purchased products report.  Using purchased products report as a guideline, I have been able to successfully complete the report, query, view, model, controller, db entries, etc., but there is one last minor detail.  After creating a new language key/value document for the model, the language key/value for that particular report acts like it is not registered. 

My question is: how do I active that language document to be available for that report?  Is there a registry someplace that I am missing? or what am I missing? Also, I noticed that my Banner Statistics report disappeared.  Any suggestions on how to get that back would be helpful.  Thanks!

(screen shot attached)

Pages: [1]

Powered by SMFPacks Social Login Mod