Forum Replies Created
-
AuthorPosts
-
wzpModerator
Some of my work is in the Unix System V code… yeah, *nix runs through my blood.
“Hooks” refers to the ability to integrate your code into somebody else’s code. WordPress allows eStore and other plugins to hook into it (WordPress). eStore has the ability to hook into other “selected” plugins, and allows other “selected” plugins to hook into it (eStore). That’s what it means when you see Amin and Ivy talk about eStore integration.
The only way you are going to hook into eStore is to get down and dirty with the code, unless Amin reveals the presence of an eStore API.
On the subject of Google Checkout, please see:
https://support.tipsandtricks-hq.com/forums/topic/google-checkout-revisted#post-7904
September 20, 2010 at 8:37 pm in reply to: What to configure in PayPal Edit Instant Payment Notification (IPN) settings? #24572wzpModeratorAs a “safety precaution,” it’s a good idea; but not a requirement. The reason it’s a good idea, is to prevent accidental IPN callbacks to the old notification URL.
wzpModerator@arts — Here is some pseudo code that may answer your question…
IF server allows fopen() for URLs {
SWITCH $DownloadMethod
CASE(2):
// Method 2.
CASE(3):
// Method 3.
CASE(4):
// Method 4.
CASE(5):
// Method 5.
CASE(6): {
IF Apache Gzip installed, disable it;
IF Resumable downloading supported, enable it;
Send file contents in 1 MB chunks;
}
DEFAULT:
Send file contents in 8 KB chunks;
END SWITCH;
} ELSE {
IF cURL library installed {
Download using cURL;
} ELSE {
Fatal error;
}
}
=======================================
Since the smaller server is your production system, and it seems to be working for now; is it fair to say the situation is not as “hot” as it was 2 days ago? I’d like to study the code a bit, and maybe try a few things. I will pass any suggestions on to Amin.
Or, if you are feeling really brave and adventurous, since you appear to be technically advanced, would you like to be able “test drive” any of my code suggestions? If so, please visit my site and leave me your e-mail address on a contact form:
h-t-t-p colon slash slash TheAssurer dot com slash contact
September 20, 2010 at 8:13 pm in reply to: What to configure in PayPal Edit Instant Payment Notification (IPN) settings? #24570wzpModeratorYou don’t need to set it for eStore. The reason is because eStore tells PayPal what the Notification URL is, when it invokes PayPal. Some plugins will deliberately not embed the URL in their PayPal calls, to lock you into one product; because you can only have one Notification URL at a time in your PayPal profile!
wzpModeratorI was thinking of asking Amin if he’d be interested in my writing a tutorial on how to use the PayPal sandbox with eStore… Is that something that would help? At least it would save you 32 cents whenever you wanted to see if it works
wzpModeratorIf you have access to a Unix/Linux/*nix command line, change to the plugin directory and issue the following shell command:
grep add_shortcode *.php
Essentially, you are looking for all occurrences of when/where a new short code is added to WordPress.
The first argument to add_shortcodes is the shortcode string itself. The second argument is the name of the function that WordPress should call, when that shortcode is parsed.
wzpModeratorYes I can tell you in about 2 hours. Am mobile now.
@Amin007 — Thanks for the promotion, boss!
wzpModeratorOkay, so let’s try to confirm something… is the actual amount of monies in your PayPal account, for each transaction correct? Not from the PayPal e-mails, but from logging into PayPal and looking at your transaction history. If so, Amin can focus on any eStore bugs; instead of possible fraud exploits.
wzpModeratorBTW, did you ever do any test transactions, using the PayPal sandbox?
wzpModeratorThe permissions for the plugin directory and all subdirectories should be 755. The permissions for all files in the plugin directory and all subdirectories should be 644.
wzpModeratorI’m going to think about possible debugging strategies. The existing code (now it does, LOL) works on the smaller server, so it should be working on the larger one… or as my kid might say, “WT@?”
wzpModeratorInstead of disabling the add to cart button, why not try this?
WP eStore -> Add/Edit Products -> Your Product -> Button Link
Fill in the URL of a “special order” page. On the special order page, explain that, because it is a special order (high value) item, you want to ensure the customer receives your undivided personal attention during the purchase experience. Then, invite them to complete and submit a contact form.
When the customer clicks the add to cart button, they will be taken to the special order page for that product.
wzpModeratorAnd, during the download process, on both servers; is a progress bar shown? By progress bar, I mean that something that says “X bytes remaining, Y minutes/seconds remaining,” instead of “Unknown file size?”
wzpModeratorOkay, you have the “Show Terms & Conditions Checkbox” setting checked, but did you remember to set the “Terms & Conditions Page” URL?
wzpModeratorI’m going to ask a rather silly question… Are you using any download manager addons with the browsers?
Not so silly question… If you compare the PHP info reports for both servers, side by side, are there any other differences besides the maximum PHP memory?
-
AuthorPosts