Hello,
Exactly how do I put these input variables into the module:
<input type="hidden" name="amount" value="35.00" />
<input type="hidden" name="currencyCode" value="USD" />
<input type="hidden" name="countryCode" value="US" />
The tutorial says to access the form source code but I don't know where that is. Is see the html code but that doesn't have table info.
-Manesh
Exactly how do I put these input variables into the module:
<input type="hidden" name="amount" value="35.00" />
<input type="hidden" name="currencyCode" value="USD" />
<input type="hidden" name="countryCode" value="US" />
The tutorial says to access the form source code but I don't know where that is. Is see the html code but that doesn't have table info.
-Manesh
Hi Manesh,
If they are 'fixed' data then use the 'Extra fields data' box:
Bob
If they are 'fixed' data then use the 'Extra fields data' box:
amount=35.00
currencyCode=USD
countryCode=US
Bob
Hello,
Where is this box? can't seem to find it.
-Manesh
Where is this box? can't seem to find it.
-Manesh
Hello,
I did that and I got the following error:
&PAYMENTACTION=Sale&EXPDATE=062012&AMT=0&CREDITCARDTYPE=American+Express&ACCT=XXXXXXXXXX&CVV2=9999&FIRSTNAME=Manesh&LASTNAME=Patel&STREET=4926+High+Road&CITY=Izmir&STATE=Georgia&ZIP=30082&COUNTRYCODE=US&CURRENCYCODE=&amount=amount: ¤cyCode=currencyCode: &countryCode=countryCode:
The PayPal API has returned an error!
Ack: Failure
Correlation ID: b7fb81a175706
Version: 56.0
Error Number: 99998
Short Message: Transaction refused because of an invalid argument. See additional error messages for details.
Long Message: Currency is not supported
Error Number: 81147
Short Message: Missing Parameter
Long Message: CreditCardType : Required parameter missing
&PAYMENTACTION=Sale&EXPDATE=062012&AMT=0&CREDITCARDTYPE=American+Express&ACCT=XXXXXXXXXX&CVV2=9999&FIRSTNAME=Manesh&LASTNAME=Patel&STREET=4926+High+Road&CITY=Izmir&STATE=Georgia&ZIP=30082&COUNTRYCODE=US&CURRENCYCODE=&amount=amount: ¤cyCode=currencyCode: &countryCode=countryCode:
The PayPal API has returned an error!
Ack: Failure
Correlation ID: 1624e71825e2e
Version: 56.0
Error Number: 99998
Short Message: Transaction refused because of an invalid argument. See additional error messages for details.
Long Message: Currency is not supported
Error Number: 81147
Short Message: Missing Parameter
Long Message: CreditCardType : Required parameter missing
An error occured : Currency is not supported
I did that and I got the following error:
&PAYMENTACTION=Sale&EXPDATE=062012&AMT=0&CREDITCARDTYPE=American+Express&ACCT=XXXXXXXXXX&CVV2=9999&FIRSTNAME=Manesh&LASTNAME=Patel&STREET=4926+High+Road&CITY=Izmir&STATE=Georgia&ZIP=30082&COUNTRYCODE=US&CURRENCYCODE=&amount=amount: ¤cyCode=currencyCode: &countryCode=countryCode:
The PayPal API has returned an error!
Ack: Failure
Correlation ID: b7fb81a175706
Version: 56.0
Error Number: 99998
Short Message: Transaction refused because of an invalid argument. See additional error messages for details.
Long Message: Currency is not supported
Error Number: 81147
Short Message: Missing Parameter
Long Message: CreditCardType : Required parameter missing
&PAYMENTACTION=Sale&EXPDATE=062012&AMT=0&CREDITCARDTYPE=American+Express&ACCT=XXXXXXXXXX&CVV2=9999&FIRSTNAME=Manesh&LASTNAME=Patel&STREET=4926+High+Road&CITY=Izmir&STATE=Georgia&ZIP=30082&COUNTRYCODE=US&CURRENCYCODE=&amount=amount: ¤cyCode=currencyCode: &countryCode=countryCode:
The PayPal API has returned an error!
Ack: Failure
Correlation ID: 1624e71825e2e
Version: 56.0
Error Number: 99998
Short Message: Transaction refused because of an invalid argument. See additional error messages for details.
Long Message: Currency is not supported
Error Number: 81147
Short Message: Missing Parameter
Long Message: CreditCardType : Required parameter missing
An error occured : Currency is not supported
Hi sunman4008,
Mostly I think you need to check the details. You have CREDITCARDTYPE as 'American Express' but the PayPal docs say 'Amex.
And some codes appear to be included twice and to hae wrong values.
Bob
Mostly I think you need to check the details. You have CREDITCARDTYPE as 'American Express' but the PayPal docs say 'Amex.
And some codes appear to be included twice and to hae wrong values.
&COUNTRYCODE=US
&CURRENCYCODE=
&amount=amount:
¤cyCode=currencyCode:
&countryCode=countryCode:
You'll need to check the correct parameter names and make sure that they are only included once. If you put values in the Extra Fields Box then I think you need to leave the individual boxes blank.Bob
Hello,
How do you edit or delete your own posts?
-Manesh
How do you edit or delete your own posts?
-Manesh
Hello,
Not sure where the repeated currencycode is coming from? I did have a text box with it but I deleted it. I don't see in the field box either now so I should be gone. Also, the amount I have set to 1.00 but it shows = amount. Is that correct?
&COUNTRYCODE=US&CURRENCYCODE=&amount=amount: ¤cyCode=currencyCode:
Not sure where the repeated currencycode is coming from? I did have a text box with it but I deleted it. I don't see in the field box either now so I should be gone. Also, the amount I have set to 1.00 but it shows = amount. Is that correct?
&COUNTRYCODE=US&CURRENCYCODE=&amount=amount: ¤cyCode=currencyCode:
Hello
How about the other questions?
-manesh
How about the other questions?
-manesh
Hello,
Also, if I leave them blank I get the following:
COUNTRYCODE=&CURRENCYCODE=&amount=amount: &countryCode=countryCode: ¤cyCode=currencyCode:
The extra data fields is not working the way it is suppose to. It seems like it adds data fields instead of giving them assignments. This
is why we have duplicates. Whenever, I put something in the extra data field, it gives me duplicates.
I have this in the extra data field with the fields blank
amount=1.00
countryCode=US
currencyCode=USD
It doesn't even assign the amount.
-Manesh
Also, if I leave them blank I get the following:
COUNTRYCODE=&CURRENCYCODE=&amount=amount: &countryCode=countryCode: ¤cyCode=currencyCode:
The extra data fields is not working the way it is suppose to. It seems like it adds data fields instead of giving them assignments. This
is why we have duplicates. Whenever, I put something in the extra data field, it gives me duplicates.
I have this in the extra data field with the fields blank
amount=1.00
countryCode=US
currencyCode=USD
It doesn't even assign the amount.
-Manesh
Hi sunman4008,
It looks as though Max has this working slightly differently to the other plugins. Looking at the ToolTips try putting US and USD directly into the upper boxes; add a hidden field to your form to set the amount and remove all the entries from the Extra Fields Data box.
Bob
It looks as though Max has this working slightly differently to the other plugins. Looking at the ToolTips try putting US and USD directly into the upper boxes; add a hidden field to your form to set the amount and remove all the entries from the Extra Fields Data box.
Bob
Hi Bob,
I am confused.
For the CurrencyCode and CountryCode, you want me to put the values straight into the menu instead of setting a variable like codeCountry
and codeCurrency right?
For the amount, what you want me to do? Do the same?
If I do this, how do you change these values if you don't have an input field like first name?
-Manesh
I am confused.
For the CurrencyCode and CountryCode, you want me to put the values straight into the menu instead of setting a variable like codeCountry
and codeCurrency right?
For the amount, what you want me to do? Do the same?
If I do this, how do you change these values if you don't have an input field like first name?
-Manesh
Hello,
I set the Country/Currency Code in the menu. I then set the amount field to 1.00 and it didn't like that at all. It told me the following:
An error occured : This transaction cannot be processed. The amount to be charged is zero.
-Manesh
I set the Country/Currency Code in the menu. I then set the amount field to 1.00 and it didn't like that at all. It told me the following:
An error occured : This transaction cannot be processed. The amount to be charged is zero.
-Manesh
Is 1.00 suppose to be $1.00 or "1.00" or just 1.00? I have just 1.00
Hi Manesh,
For the amount format please check the PayPal docs. I would expect it to be 1.00
Bob
For the amount format please check the PayPal docs. I would expect it to be 1.00
For the CurrencyCode and CountryCode, you want me to put the values straight into the menu instead of setting a variable like codeCountry and codeCurrency right?
I don't know what the 'menu' is but straight into the boxes on the Plugin configuration tab, Yes.For the amount, what you want me to do? Do the same?
No, you can put it into an input. A hidden input if it is fixed or a visible one if it varies. (Just how you do it depends on how you are setting the price.)Bob
Hello,
I got this to work by just using a javascript.
-Manesh
I got this to work by just using a javascript.
-Manesh
This topic is locked and no more replies can be posted.