Author Topic: 'Pay with Amazon' payment . We need testers  (Read 6774 times)

mirrorsandglass

  • Jr. Member
  • **
  • Posts: 158
  • Time Is Precious, Waste It Wisely
Re: 'Pay with Amazon' payment . We need testers
« Reply #15 on: March 16, 2016, 17:53:23 pm »
Been using this for about two weeks now.
All seems to be working well apart from the sandbox warning message in the admin would stay up even when set to Live.
Not sure if this is the right place but I altered [ROOT]/plugins/vmpayment/amazon/assets/js/admin.js from Line 100 to read as follows and it now works as expected.
Code: [Select]
    handleEnvironment = function () {
        var environment = $('#params_environment').val();
        $('.sandbox_error_simulation').parents('.control-group').hide();
        $('.ipn-sandbox').hide();
        $('.sandbox_warning').hide();
if (environment === 'sandbox') {
            $('.sandbox_error_simulation').parents('.control-group').show();
            $('.ipn-sandbox').show();
            $('.sandbox_warning').show();
        }
    }

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9085
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: 'Pay with Amazon' payment . We need testers
« Reply #16 on: March 16, 2016, 20:19:52 pm »
Sounds good, thank you.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2120
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: 'Pay with Amazon' payment . We need testers
« Reply #17 on: March 17, 2016, 09:39:03 am »
You can do this quicker and only call one or other
Code: [Select]
        var environment = $('#params_environment').val();
if (environment === 'sandbox') {
            $('.sandbox_error_simulation').parents('.control-group').show();
            $('.ipn-sandbox,.sandbox_warning').show();
        } else {
            $('.sandbox_error_simulation').parents('.control-group').hide();
            $('.ipn-sandbox,.sandbox_warning').hide();
        }
And don't use parents but closest, parents search all from current element to the "html" tag and closest only search one parent element, so closest is mostly the best way
see for eg.http://www.sitepoint.com/jquerys-closest-parents/

mirrorsandglass

  • Jr. Member
  • **
  • Posts: 158
  • Time Is Precious, Waste It Wisely
Re: 'Pay with Amazon' payment . We need testers
« Reply #18 on: March 22, 2016, 17:16:30 pm »
Sounds good, thank you.
You're Welcome

You can do this quicker and only call one or other
Code: [Select]
        var environment = $('#params_environment').val();
if (environment === 'sandbox') {
            $('.sandbox_error_simulation').parents('.control-group').show();
            $('.ipn-sandbox,.sandbox_warning').show();
        } else {
            $('.sandbox_error_simulation').parents('.control-group').hide();
            $('.ipn-sandbox,.sandbox_warning').hide();
        }
And don't use parents but closest, parents search all from current element to the "html" tag and closest only search one parent element, so closest is mostly the best way
see for eg.http://www.sitepoint.com/jquerys-closest-parents/
Thanks for the info Studio 42, I just altered the existing code. :-)

chaosangel

  • Beginner
  • *
  • Posts: 6
Re: 'Pay with Amazon' payment . We need testers
« Reply #19 on: September 12, 2016, 18:13:50 pm »
Hello Forum,
i just activated Amazon payments and connected it with my Amazon Seller Central successfully :)
But when i place an oder with Amazon payments, neither the customer nor the seller will get an oder mail :(
The order can be found in the order history but the field "notify the buyer" is "no"!
Any hints or solutions?
Thank you in advance...
Dirk

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9085
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: 'Pay with Amazon' payment . We need testers
« Reply #20 on: September 12, 2016, 19:26:01 pm »
Yes, the solution is vm3.0.18, maybe  I added the email already to vm3.0.17.6. I write a pm to you
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jeroentje

  • Beginner
  • *
  • Posts: 8
  • A beginner
Re: 'Pay with Amazon' payment . We need testers
« Reply #21 on: April 10, 2017, 21:47:22 pm »
Hello everybody,

I have installed the Amazon Pay payment method on my website (www.scarparti.com). But if you click on the Amazon - button an error appears.

The past few days I had contact with the helpdesk from Amazon. They told me to have a look in Joomla at the 'Application Log', to be more specific I have  to look at the fields “Allowed Return URLs” and "Java Script Origins”. These data I have to copy to my Amazon account. Now I'm searching for these filed for quite some time now. I cannot find them… Can anyone help me to solve this issue?

Thanks in advance,
Jeroen

(joomla 3.5.6 and Virtuemart 3.0.19)

apotheosisvuu

  • Beginner
  • *
  • Posts: 1
  • Always Learning. Always Living.
    • Jason Vuu
Re: 'Pay with Amazon' payment . We need testers
« Reply #22 on: April 13, 2017, 02:08:02 am »
Hi Forum Members,

I've been developing a site for my sister (drtrinity.com) and pulling out my hair figuring this Pay with Amazon plugin out and why it's not working.  The button isn't even showing up.

- I've heard the OPC was an issue.  However, OPC is already checked.
- I've created Overrides for com_virtuemart/cart/default.php & mod_virtuemart/cart/default.php and add the lines per these docs.  COM already had the line.  I added it to the MOD.

I'm in the US zone, which is currently in testing.

Can anyone lead me in the right direction?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9085
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: 'Pay with Amazon' payment . We need testers
« Reply #23 on: May 03, 2017, 08:41:31 am »
You cannot use the plugin without being registered at amazon. Furthermore you should disable any overrides in the cart, because the plugin needs to override a bit different. and as far I remember, there is no Amazon Pay for USA, atm.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/