News:

Looking for documentation? Take a look on our wiki

Main Menu

'Pay with Amazon' payment . We need testers

Started by alatak, August 22, 2014, 15:00:01 PM

Previous topic - Next topic

WebStuff

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.
    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

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

You can do this quicker and only call one or other
        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/

WebStuff

Quote from: Milbo on March 16, 2016, 20:19:52 PM
Sounds good, thank you.
You're Welcome

Quote from: Studio 42 on March 17, 2016, 09:39:03 AM
You can do this quicker and only call one or other
        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

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

Yes, the solution is vm3.0.18, maybe  I added the email already to vm3.0.17.6. I write a pm to you
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jeroentje

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

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

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/