Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 252
Total: 252

Author Topic: Ironing Out the Details  (Read 10074 times)

0 Members and 1 Guest are viewing this topic.

Offline virtualdave

  • Member
  • *
  • Posts: 18
    • View Profile
    • icefishin247.com
Ironing Out the Details
« on: December 14, 2007, 12:12:59 am »
Well things are progressing. I have my products in place and priced. I tested with my own CC last night and again today after doing some research here on SMF Hacks Forum. Tonight I had my first customer. The payments are being credited to my paypal account and transaction emails are being sent to the customer and my self. However there are some issues. There are several things which seem to be related I will detail them first. The inventory is not being reduced/updated after a transaction, there are no details in the transactions que in the back end of the store. There are no items waiting to be shipped. The My Orders area remains empty even though I made two orders, and after a transaction the shopping cart is not being cleared. That is what I have noticed so far on the forum/store side.

Now for the paypal/server side. I did some research and these issues seem to have popped up before. I'm hoping that I won't have to uninstall and reinstall the store so with that in mind here goes. The quantity field is not getting passed to PayPal if someone orders 2 the price is getting doubled and PayPal calls it one for twice as much. If someone orders two widgets we should see two widgets. I am getting these emails from my server. They start with something like this.
IPN Amount change detected. The amount sent (XX.XX)  did not match the amount due. I gather that this is due to the fact that the server sends out an amount and PayPal is adding tax and sending it back as a different amount than went out and sending up a red flag to the server. This same message also has the customers address and some other info.If you would like a redacted copy let me know and I can PM you one. Sounds like a real mess but every thing seems to be intertwined so hopefully you have the answer to some of this.
thanks again

I'm running SMF1.1.4 with TP version 9.8 and SMFHacks Store 1.1.7
vd
« Last Edit: December 15, 2007, 08:44:09 am by virtualdave »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Ironing Out the Details
« Reply #1 on: December 15, 2007, 09:04:54 am »
This sounds like you are setting up a tax on paypal's side.
What happens is the store checks for the total payment that was sent to paypal. But paypal is sending back a different total since it is added tax.

Which version of the store are you using?

An option is to remove the security checks for payment amount changes.

Open storeipn.php
Find
Code: [Select]
if ($securehash != md5($mc_gross . $modSettings['store_hash'] ))
{
//$hash2 = md5($mc_gross . $shipping . $modSettings['store_hash'] );
mail($notify_email, "Store IPN AMOUNT CHANGE", "IPN Amount change detected. The amount sent ($mc_gross)  did not match the amount due. \n $res\n $req");

$payment_status = 'IPN Amount Change';
//die('The amount you sent in your payment did not match the amount due');
}
Change to
Code: [Select]
/*
if ($securehash != md5($mc_gross . $modSettings['store_hash'] ))
{
//$hash2 = md5($mc_gross . $shipping . $modSettings['store_hash'] );
mail($notify_email, "Store IPN AMOUNT CHANGE", "IPN Amount change detected. The amount sent ($mc_gross)  did not match the amount due. \n $res\n $req");

$payment_status = 'IPN Amount Change';
//die('The amount you sent in your payment did not match the amount due');
}
*/

And one more place
Find
Code: [Select]
if ($securehash != md5($mc_gross . $modSettings['store_hash'] ))
{
//$hash2 = md5($mc_gross . $shipping . $modSettings['store_hash'] );
mail($notify_email, "Store IPN AMOUNT CHANGE", "IPN Amount change detected. The amount sent ($mc_gross)  did not match the amount due. \n $res\n $req");
$payment_status = 'IPN Amount Change';
die('The amount you sent in your payment did not match the amount due');
}
Change to
Code: [Select]
/*
if ($securehash != md5($mc_gross . $modSettings['store_hash'] ))
{
//$hash2 = md5($mc_gross . $shipping . $modSettings['store_hash'] );
mail($notify_email, "Store IPN AMOUNT CHANGE", "IPN Amount change detected. The amount sent ($mc_gross)  did not match the amount due. \n $res\n $req");
$payment_status = 'IPN Amount Change';
die('The amount you sent in your payment did not match the amount due');
}
*/

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline virtualdave

  • Member
  • *
  • Posts: 18
    • View Profile
    • icefishin247.com
Re: Ironing Out the Details
« Reply #2 on: December 15, 2007, 09:36:20 am »
I'm running SMF1.1.4 with TP version 9.8 and SMFHacks Store 1.1.7

I am doing the tax on the Pay Pal side. Is there another way?
vd

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Ironing Out the Details
« Reply #3 on: December 15, 2007, 03:43:28 pm »
I would install the latest version from
http://www.smfhacks.com/index.php/topic,1322.0.html
Then make the changes above to the storeipn.php file.

Currently not built in for tax to be computed but that is something I will look into adding.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline virtualdave

  • Member
  • *
  • Posts: 18
    • View Profile
    • icefishin247.com
Re: Ironing Out the Details
« Reply #4 on: December 17, 2007, 07:01:10 pm »
Does that require an uninstall? The store mod does not even show up in my admin/packages control, how would I uninstall it? I did the edits that you provided above and that took care of the IPN Amount change detected. notices but none of the other issues I detailed above. I really want this to work. I need some answers.
vd

Offline Sweetwater

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Sweetwater Fishing Australia
Re: Ironing Out the Details
« Reply #5 on: January 20, 2008, 04:25:05 am »
I would install the latest version from
http://www.smfhacks.com/index.php/topic,1322.0.html
Then make the changes above to the storeipn.php file.

Currently not built in for tax to be computed but that is something I will look into adding.

Hi SMF,
I've noted the same problems as virtualdave. Have successfully done as described above to fix. Am still getting a single quantity on multiple purchases however the overall total price is correct.
Any tips on proceeding further to correct the quantity info sent to Paypal?


Virtualdave,
I successfully un-installed 1.1.7.1 without a problem & 1.2betaH version installed without a problem.
Can you not see it by going to Admin> Packages> and scrolling down to SMF Store ?

Cheers,

sweetwater
SMF 2.0.9 | SMF Store 2.5.5 | SMF Classifieds 4.0.1 | SMF Gallery Pro + Video Add On
Home Page - http://sweetwaterfishing.com.au
Forum - http://sweetwaterfishing.com.au/Forum
Australian Lure Shop - http://australianlureshop.com.au
Australian Lure Fly & Outdoors Expo http://lureshow.com.au

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Ironing Out the Details
« Reply #6 on: January 20, 2008, 08:59:51 am »
If this is for a shopping cart order. The total is just sent to PayPal. The qty and other order information about each shopping cart item is stored in the transaction log inside the store.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline virtualdave

  • Member
  • *
  • Posts: 18
    • View Profile
    • icefishin247.com
Re: Ironing Out the Details
« Reply #7 on: January 20, 2008, 09:30:37 am »
Unfortunately I have no transactions showing up at all. I have basically given up for now as the time I allotted for the store set up is gone. It would have been nice if I was directed to the up dated version of the store when I made my purchase so I might have avoided this big false start. It is a good idea and I will be getting around to setting it up on another attempt. One thing that would be great is a way to upgrade rather than having to uninstall and then redo the whole thing. Time is the thing I am out of now not patience or a willingness to get this done> I expect to have some time to fool around with it some more in March. Until then.
vd

Offline Sweetwater

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Sweetwater Fishing Australia
Re: Ironing Out the Details
« Reply #8 on: January 21, 2008, 02:45:39 am »
Unfortunately I have no transactions showing up at all. I have basically given up for now as the time I allotted for the store set up is gone. It would have been nice if I was directed to the up dated version of the store when I made my purchase so I might have avoided this big false start. It is a good idea and I will be getting around to setting it up on another attempt. One thing that would be great is a way to upgrade rather than having to uninstall and then redo the whole thing. Time is the thing I am out of now not patience or a willingness to get this done> I expect to have some time to fool around with it some more in March. Until then.
vd
Hi vd,
If you uninstall the current version & reinstall the new version it should retain all of your products, prices etc that you have already created. Well that is what happened when I upgraded,,, only took a couple of minutes. I was surprized to see all of my previous work still there & with more options.

Cheers,

sweetwater
SMF 2.0.9 | SMF Store 2.5.5 | SMF Classifieds 4.0.1 | SMF Gallery Pro + Video Add On
Home Page - http://sweetwaterfishing.com.au
Forum - http://sweetwaterfishing.com.au/Forum
Australian Lure Shop - http://australianlureshop.com.au
Australian Lure Fly & Outdoors Expo http://lureshow.com.au

Offline Sweetwater

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Sweetwater Fishing Australia
Re: Ironing Out the Details
« Reply #9 on: January 21, 2008, 03:06:31 am »
If this is for a shopping cart order. The total is just sent to PayPal. The qty and other order information about each shopping cart item is stored in the transaction log inside the store.

Ok, am underatanding better now.

In a situation where multiple purchases are made by a user who has a different paypal account (email address) to that of the user email in SMF, there could be confusion with "who purchased what" if the similar purchases that equal the same $ value are made by separate customers.

In my case I will be selling shirts that all have the same price, but different sizes colors etc. To get around reconciling the purchases correctly I am going to do away with the multiple purchases & size/color options & create a new product for each size & color variation (eg mens-blue-small, mens-blue-large etc) . Paypal does show the part number & description that is automatically created by SMF Store which begins at #1 and goes up from there (eg ........../index.php?action=store;sa=view;id=1 ).

If there was a way to create your own product codes to over write this would make it a little easier. Am only mentioning this as a possible inclusion in future versions.

I think the product has tons of potential.  :)

Thanks for the reply & supprt SMF Hacks.

Regards,

Sweetwater
« Last Edit: January 21, 2008, 03:09:15 am by Sweetwater »
SMF 2.0.9 | SMF Store 2.5.5 | SMF Classifieds 4.0.1 | SMF Gallery Pro + Video Add On
Home Page - http://sweetwaterfishing.com.au
Forum - http://sweetwaterfishing.com.au/Forum
Australian Lure Shop - http://australianlureshop.com.au
Australian Lure Fly & Outdoors Expo http://lureshow.com.au

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
6898 Views
Last post May 18, 2008, 11:45:27 pm
by SMFHacks
1 Replies
3756 Views
Last post November 10, 2008, 06:48:45 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal