I am using authorize.net CIM method to create customer profile & payment profiles using soap service in asp.net (C#) here I want to confirm that , Currently card code field is not set as mandatory for my merchant payment form & card code validation filter is not configured in merchant account settings but I can able to create payment profiles regardless of card code parameter using CreateCustomerPaymentProfile method of soap service .
Now, I just want to know that ,If I set card code field in merchant payment form as required field & enable card code validation filter in setting then whether I need to pass card code field during payment profile creation & what will be effect of making card code as required field in merchant payment form & enabling card code validation in setting on existing created CIM profiles ?
Please kindly assist.
Thanks
If a card code is submitted as part of profile creation and validationMode is set to livemode, the card code will be used as part of the $0 transaction. However, the card code is not stored with the profile.
When using a payment profile for a transaction, you can also require the user to enter the card code and when included will be used with the transaction.
Related
I am working on a beta-stage writing tool SaaS that is built with NextJS, React, and Django REST. As I’m gaining some user base, I am starting to research on introducing a premium plan to the mix using Stripe.
As most other SaaSs, I will have a subscription-based premium plan which grants access to premium-only features. However, even after days of research, I am still lost how this is commonly implemented in Django/Backend. Here is what I’ve thought of so far, but again, I am not sure if it’s the best/common way to accomplish this.
User model has a ‘premium’ field which is either True or False
Whenever user clicks on a premium-only API call, Django will check if user is premium or not to decide whether to make the actual API call. I currently have a '/user/me/' route which returns basic user information as API GET call.
Upon successful stripe payment, stripe redirects user to the success_url. Then, somehow I will detect when user lands on success_url and then set that user’s premium field to True.
I know this is not the ideal way, because I already see lots of issues/hurdles:
How will I set ‘premium’ field back to False after user’s payment stops
How can I ‘detect’ stripe’s payment to set user’s premium field
Is this feature supposed to be implemented with Stripe customer objects instead? I would appreciate any guidance on where I should be looking for solutions.
If you use subscription on Checkout Session (low code solution), you can add additional key-value pair data such as premium: true in metadata and subscription_data.metadata fields when creating a subscription.
Once the payment is completed, those metadata will appear in checkout.session.completed and customer.subscription.updated webhook events, which you can then set the user as premium in your own database.
A customer object in Stripe can have multiple subscriptions, so this feature will be implemented on subscription object instead.
I am using Authorize.net as a payment gateway. Now I want to check credit card validity before creating authorize payment. I am using another service to store and manage the customer's profiles and credit cards, and therefore I don't want to create a customer profile in Authorize.net, I just want to use their service to validate a credit card and later to authorize a payment.
Is there any proper way to do this validation?
Searching the documentation and other similar questions, all I could find was the option to create a customer profile, but this option doesn't seem practical to me, since it's necessary to create a customer profile, and after delete it each time I need to validate a credit card.
Does anyone had a similar problem with Authorize.net payment gateway?
I am creating an application in which i charge payment. For payment, i am using authorize.net. This application can be used all over the world and user needs to give his mobile numner in his own country format. I want to ask is phone number is required for payment processing? If required then ia there any specific format?
The phone number is not a required field for processing a payment through Authorize.Net.
It is also not required when creating a payment profile. You can confirm it by testing it in their API reference.
I have read the documentation and currently it supports the customer profile which i can use to charge the customer. I want to know if it is possible i can have a token which i stored in my user table along with each user and then charge that? like a hash value or the token without using the profile ids? or the only profile id is the way to charge the customer.
Actually i want to do the recurring payment manually because of returning customer and having inconsistent monthly utility bill.
Another reason is that profile it made consist on name description and email which i think is not good enough to check the uniqueness of the users profiles.
Yes, it is possible. You need to use the Customer Information Manager (CIM) API to create a payment profile. You then will have a payment profile ID for that payment profile that you can charge against without having to know or store any of that credit card information.
The profile ID is the only way to charge the customer. There is no token or hash.
I am developing service for payment integration in C#. I am creating CustomerProfile at Authorize.net. We are asking user to enter his name,address,email,mobile no, credit card number, expirydate and cvv no only.
So I just want to know what are the compulsory information that I need to provide to Authorize.net to create CustomerProfile?
When creating a customer profile, you must have the following:
merchantCustomerID OR
description OR
email (except in Europe where email is required)
You can see an example here: https://community.developer.authorize.net/t5/Integration-and-Testing/CIM-CreateCustomerProfile-Issues/m-p/53776#M28859