Razorpay Implementation - swift

I have implemented the Razorpay according to the steps given by the Razorpay document for the iOS but when I try to open Razorpay screen, it is not opened. Please suggest me to successfully open the screen.

Case 1:
Keep in mind that razorpay accept payment in Paisa only, so if you want to make payment of INR 100.5, you have to pass 10050. Now if the value is INR 100.457, you have to floor it and pass 10046 only, 10045.7 won't accepted.
Case 2:
Please check your navigation bar status. This issue might help you https://github.com/razorpay/razorpay-pod/issues/42

Related

Flutter: how to create Apple/google wallet card

Is there any way to create passes/cards for Apple wallet and google wallet? In swift this is done with passkit. How can I do it in Flutter!?
Note I want to had card like tickets, boarding pass, loyalty card. I am not looking after adding credit card or payment methods
Thanks
Actually now there is a pass_flutter library for that.
Update: in version 2.0.0, you can now save passes like so:
import 'package:pass_flutter/pass_flutter.dart';
PassFile passFile = await Pass().fetchPreviewFromUrl(url: 'https://link_to_pass/pass.pkpass');
passFile.save();

Paypal - Auto redirect after successful payment?

I want to redirect visitor automatically after successful payment. There are two options in Paypal and I am confused.
The first one (in the buy now button editing section)
The second one (in profile > my selling tools)
But in the second one, you can only select 1 url and that will be for all buy now buttons. That won't be good. What is the correct way to do that ?
To make the auto return works you first need to turn on the "Auto Return" in your PayPal Profile and you can specify any return url there . Now if you have the multiple return url's then you should specify the return url in your button code in the section "Take my customer to this url when they finish checkout " . In this way it will always override the return url that you have mentioned in your PayPal Profile .
Well, you can either set it account-wide or per button: in fact, you can do both - have an account-wide default and a selective override for selected buttons. There is a third way: define the return_url variable in the POST data for the button yourself: this is another per-button override.
Which you use is up to you.
Setting Up Auto Return Using PayPal
To set up Auto Return:
Log in to paypal and click Profile.
Click the Website Payment Preferences link under Selling Preferences.
Click the On radio button to enable Auto Return.
Enter the Return URL.
Note: You must meet the Return URL requirements in order to set up Auto Return. Learn more about Return URL.
Sendbox Form Multiple Return Request URL's : If you are using different URL's for success/failure
It will automatically overwrite paypal specified URL.

Timeout waiting for Processor response on PayPal Hosted Checkout Page goest always on error page url

I'm developing a cart on a website and I'm integrating it using the hosted checkout page Layout C with iframe within the website page, I have configured all urls so cancel, return and error url but when I try with the 411111.. and 12/15 credit card for test in test mode the website goest always on error page and in the post data I can see 104 error "Timeout waiting for Processor response"
I have followed step by step the guide I dont know how to solve it!
The 41111... card is not supported at this time.
Please use any other Luhn-valid card number. I.e. http://www.darkcoding.net/credit-card-numbers/

Multiple option of payment on paypal

I did a button of 3 options for payment (Buy Now) on PayPal, and when I pasted the code on my website.
Everything looks ok until you click on Buy now, It's transfer to error code on PayPal.
This is the link for the website: http://compx.co.il/?page_id=43
The error code that I get is:
1.Can not process your request at this time. Return to CompX IT Services and try another option.
2. PayPal can not process this transaction because of a problem on the site of the seller. Contact the seller directly to resolve this issue.
Any suggestion?
Regards,
Dvir
It's probably a character set issue. The default character set doesn't recognize them so you can fix this problem by changing the text of your option values or by changing the "charset" you're posting to PayPal.
You can follow these steps to modify the character set within your PayPal account:
- Log into your PayPal account at https://www.paypal.com
- Click the Profile link
- Click the 'Language Encoding' link under the Selling Preferences column
- Click the gray 'More Options' button
- Choose the same encoding you are using for your data off your site
- Select 'Yes' for 'Do you want to use the same encoding for data sent from PayPal to you (e.g., IPN, downloadable logs, emails)?'
- Click 'Save'
You can also define the charset value in the button code to match the charact values you have set in your options.

Payment Transaction State Failed

I am trying to make In-app purchase in my application using phonegap plugin which is https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/InAppPurchaseManager
but in sandbox testing i'm getting following error
plugins.inAppPurchaseManager.updatedTransactionCallback.apply(plugins.inAppPurchaseManager, ["PaymentTransactionStateFailed",0,"Cannot connect to iTunes Store","","",""])
and then the application gets struck...can anyone help me out with this??
Take a look inside of InAppPurchaseManager.js, and you'll see the first call of InAppPurchaseManager.prototype.updatedTransactionCallback is:
alert(state);
Replace that with PhoneGap's preferred:
navigator.notification.alert(state);
And it should clear up fine.