Forum Replies Created
-
AuthorPosts
-
maheshkurmiSpectator
Thanks for the response..
Done by using the source of function wp_estore_product_management_menu().February 14, 2019 at 4:16 am in reply to: Different currency codes for different customers based on location #79152maheshkurmiSpectatorUsing currency change on checkout with filters I am able to get payments form India and outside India, but there is a new issue on pluginside.
I am getting payment received and payment sent successfully at seller and buyer mail, showing transactions completed.
But software license manager can’t create license because WPestore treats it as a failed transaction giving this message on my seller mail
===== Exact Reason for This Failure =====
The transaction failed for the following reason…
Invalid Product Currency Detected! The payment was made in currency: INR
DEBUUG LOG
[02/14/2019 4:03 AM] – SUCCESS :Paypal Class Initiated by 173.0.81.1 eStore Version: 8.0.7
[02/14/2019 4:03 AM] – SUCCESS :Post string [removed]
[02/14/2019 4:03 AM] – SUCCESS :Checking if PayPal IPN response is valid
[02/14/2019 4:03 AM] – SUCCESS :Connecting to: https://www.paypal.com/cgi-bin/webscr
[02/14/2019 4:03 AM] – SUCCESS :IPN successfully verified.
[02/14/2019 4:03 AM] – SUCCESS :Creating product Information to send.
[02/14/2019 4:03 AM] – SUCCESS :Transaction Type (Buy Now/Subscribe): web_accept
[02/14/2019 4:03 AM] – SUCCESS :Item Number: 7
[02/14/2019 4:03 AM] – SUCCESS :Item Name: Simphy-Test-2
[02/14/2019 4:03 AM] – SUCCESS :Item Quantity: 1
[02/14/2019 4:03 AM] – SUCCESS :Item Price: 14.00
[02/14/2019 4:03 AM] – SUCCESS :Item Shipping:
[02/14/2019 4:03 AM] – SUCCESS :Item Currency: INR
[02/14/2019 4:03 AM] – SUCCESS :Price paid: 14.00, True price: 0.2
[02/14/2019 4:03 AM] – FAILURE :Invalid Product Currency Detected! The payment was made in currency: INR
[02/14/2019 4:03 AM] – FAILURE :You specified to receive payment in: USD for this product. Check eStore settings or this product’s Buy Now/Subscription section and correct the currency code to fix this issue.
[02/14/2019 4:03 AM] – FAILURE :IPN product validation failed.
[02/14/2019 4:03 AM] – SUCCESS :Paypal class finished.
Reason seems that the default currency in Wpestore is USD, while I changed currency to INR via filter based on location.
Any solution?
February 11, 2019 at 7:47 pm in reply to: Different currency codes for different customers based on location #79150maheshkurmiSpectatorEven paypal representative couldnt solve this problem. Am I the only one facing this problem?
Is home currency and general abroad currency(usd) are to be set by all paypal users?
By the way what do you do for this(if u dont mind !)?
Can multicurrency add on plugin solve this issue?
Thanks
February 11, 2019 at 6:15 am in reply to: Different currency codes for different customers based on location #79148maheshkurmiSpectatorI got it working after messing up for plugin source fo 2 days !
- Used GeoIP locator plugin to locate country
- if country is India I added two filters
eStore_change_curr_code_before_payment_filter
andeStore_change_price_before_payment_filter
in my themes function.php - updated plugin file eStore-extra-shortcodes/shortcode_include2.php for missing filters by adding
`<br />
$price = apply_filters(‘eStore_change_price_before_payment_filter’, $price);<br />
$paypal_currency = apply_filters(‘eStore_change_curr_code_before_payment_filter’, $paypal_currency);<br />
`
at proper places in function wp_eStore_handle_buy_now_text_link_redirect
- Added conditional price display on pricing page
- Now everything works fine
Obviously on plugin update I will lose changes but hoping that you will include these filters which I think you missed(on offence)?
Is there something else that I need to take in account ?
Thanks for your support
February 10, 2019 at 3:16 am in reply to: Different currency codes for different customers based on location #79146maheshkurmiSpectatorPlease reply..
maheshkurmiSpectatorThanks for reply..
As in in instruction copying url from aws (https://s3.amazonaws.com/shikharedusoft.com/simphyprg_win.jar) and pasting in download product url is not working.
but when url is replaced with as3tp://shikharedusoft.com.s3.amazonaws.com/simphyprg_win.jar, it works.
I have followed all instructions and have s3 integration plugin already activated.
Also it works only with US standard region(may be plugin needs an update?)
maheshkurmiSpectatorI get an error AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. when I try upload file to S3 bucket in Mumbai region.
But when I created bucket in US Standard region, all works properly.
It seems AWS Client initialisation should specify V4 in plugin. Am I correct?
Similar issue found at stackoverflow
February 8, 2019 at 11:21 am in reply to: Different currency codes for different customers based on location #79145maheshkurmiSpectatorOne more thing
I came to know from community that we can use any currency switcher on wordpress site. please let me know which plugin is compatible with WPestrore because all seem to be compatible with WooCommerce.
thanks
February 8, 2019 at 10:57 am in reply to: Different currency codes for different customers based on location #79144maheshkurmiSpectatorThis is reply I got from paypal support
Quote:Thank you for contacting PayPal Merchant Technical Support. I’m happy to help!
Yes you are right! In order to receive payments from Indian buyers, it should be in INR, but you can receive USD payments from other countries.
I would suggest you to use the currency switcher and switch currency based on the locale. That is INR for Indian buyers and USD for rest of the countries.
Please note that Indian domestic payment must be exclusively made in INR currency. INR currency can only be process by Indian domestic payment only. International customer who tried to make payment to an Indian merchant need to process the payment in currency other than INR (example USD).
I hope I was able to address your inquiry to your satisfaction.If there’s anything else I can do for you, don’t hesitate to let me know.
Sincerely,
Aswini
Merchant Technical Support
PayPal
Now my concern is ..
how to create currency switcher?
February 4, 2019 at 11:27 am in reply to: Different currency codes for different customers based on location #79142maheshkurmiSpectatorIs there any paypal setting related to it? What do we do to receive home and abroad payments simultaneously? Or it is done by paypal itself.
BTW I already have business account, and I am waiting for reply from them for the same query.
February 4, 2019 at 1:55 am in reply to: Different currency codes for different customers based on location #79140maheshkurmiSpectatorIf we set currancy in INR in Wpestore all transaction within india are done successfully and if we set currency as USD transactions from other countries are done successfully. So setting difference currency based on user’s location/ip in wpestore should do the trick. Isn’t there some curency converter kindof addon in wpestore, where buyer can select his/her currency in usd or INR (or it is done automatically).
I have already sent you link for possible solution as suggested by paypal.
thanks
maheshkurmiSpectatorProblem found!!
Transaction completes successfully if price of product is set in INR in wp estore setting. Previously it was set as USD.
But now my concern is setting price to INR may lead to same problem when payments from accounts outside India. Kindly suggest a solution.
-
AuthorPosts