WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery 1.7 : 2 Issues - Please help
  • Print
Pages: [1]   Go Down

Author Topic: Bakery 1.7 : 2 Issues - Please help  (Read 7746 times)

Offline tschiemer

  • Posts: 62
    • NVious Designs
Bakery 1.7 : 2 Issues - Please help
« on: December 22, 2013, 12:48:53 AM »
I just finished this new site for a client that is selling guitars and wants to get this running before Christmas.  I have used Bakery in the past and never had any issues until now.  This new version has 2 issues that I can't seem to solve:

1.  The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

In the General Settings I have the Payment Settings: Taxes set to Shop State at 8.1% (see attached).  The Store works properly and when the user address is Nevada, the tax gets added to the total and the total amount under the BUY button at the end is correct.  This issue is though, once the BUY button is clicked and the information is sent to the Paypal payment page I get the error: The link you have used to enter the PayPal system contains an incorrectly formatted item amount.  If I take out the taxes per state and just use NONE, everything works perfectly.  Can someone tell me why this is happening?  I also attached a screen shot of the payment page to show the totals before clicking to buy.

2.  The second error is not stopping the payment, but show incorrectly on the page.  On the same payment page before going to Paypal, the email address of the user shows as :  tom(at)media3lv(dot)com  How can I make it show as :  tom@media3lv.com ?

If anyone can help me out with this quickly it would be GREATLY appreciated.  I am a huge Website Baker and Bakery fan and I have never had this issue before. 

Here is a link to the hidden store right now if you want to see it in action: 
http://www.lvguitargear.com/pages/store.php
Logged

jacobi22

  • Guest
Re: Bakery 1.7 : 2 Issues - Please help
« Reply #1 on: December 22, 2013, 01:10:36 AM »
i've only a answer to the 2. question
go in the backend to Admin Tools, there to Frontend Output Filter and set the Option Filter Email addresses in text: to OFF
Logged

Offline tschiemer

  • Posts: 62
    • NVious Designs
Re: Bakery 1.7 : 2 Issues - Please help
« Reply #2 on: December 22, 2013, 01:24:39 AM »
Thanks... that fixed#2.

Anyone got any idea on #1?
Logged

freeSbee

  • Guest
Re: Bakery 1.7 : 2 Issues - Please help
« Reply #3 on: December 22, 2013, 03:04:11 PM »
Hi tschiemer

Quote from: tschiemer on December 22, 2013, 12:48:53 AM
1.  The link you have used to enter the PayPal system contains an incorrectly formatted item amount.

[…] This issue is though, once the BUY button is clicked and the information is sent to the Paypal payment page I get the error: The link you have used to enter the PayPal system contains an incorrectly formatted item amount. […]

This is caused by a bug in the Bakery PayPal payment method add-on. You can fix it easily:

Go to the file /payment_methods/paypal/post_data.php at about line 76 and replace
Code: [Select]
'amount'        => $order_total,by
Code: [Select]
'amount'        => $_SESSION['bakery']['order_total'],
Additionally the file view_summary.php at about line 788 has to be modified. Replace
Code: [Select]
// Format output for display
$f_sales_tax   = number_format($sales_tax,   2, $setting_dec_point, $setting_thousands_sep);
$f_order_total = number_format($order_total, 2, $setting_dec_point, $setting_thousands_sep);
by
Code: [Select]
// Format output for display
$f_sales_tax   = number_format($sales_tax,   2, $setting_dec_point, $setting_thousands_sep);
$f_order_total = number_format($order_total, 2, $setting_dec_point, $setting_thousands_sep);
// Put rounded order total into the session var for later use with payment gateways
$_SESSION['bakery']['order_total'] = round($order_total, 2);

Regards Christoph
« Last Edit: December 22, 2013, 04:04:16 PM by freeSbee »
Logged

Offline tschiemer

  • Posts: 62
    • NVious Designs
Re: Bakery 1.7 : 2 Issues - Please help
« Reply #4 on: December 23, 2013, 12:36:32 AM »
This fixed it... Thank you so much!!!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery 1.7 : 2 Issues - Please help
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2