Reply
Highlighted
Contributor
Posts: 17
Registered: ‎12-20-2010
Accepted Solution

accept hosted for Non-Logged in User

I attempted to use the accept Hosted form, but I get the invalid token error because I do not have an active user.  The site that I am putting on this form, does not store any user data, so I do not have Customer Profile IDs.  

 

I know I can create a new customer ID for each transaction, but if the user's e-mail exists in the account, that will return an error.  Is there an API call that can send in an e-mail address and return the Customer ID.  Or if that is not available, is there an easy way (besides text parsing) to get the Customer ID from the error message when the user already exists.

 

Since we really don't need to store customer information and just want a PCI Compliant solution, what is the best/easiest way to go?  I've tried accept.js but can't get that to work, I always get an ecryption error (I opened another thread for that).  

 

Thanks for any help/suggestions.


Accepted Solutions
Highlighted
Solution
Accepted by topic author microweb
‎07-11-2017 10:07 AM
All Star
Posts: 699
Registered: ‎11-03-2016

Re: accept hosted for Non-Logged in User

Hi @microweb,

 

You say "we really don't need to store customer information". If you have no need to store customer information on your side or on ours, you don't need to do anything with customer profiles at all. Just use the Accept Hosted payment form without anything relating to customer profiles.

 

If you what you meant was that you don't want to store information on your side, but you do still want us to store it in a profile on our side, you can always check if the profile exists first. The getCustomerProfileRequest allows you to send a customer profile ID OR a merchant's customer ID OR an email address to get the information of the associated customer profile.

 

View solution in original post


All Replies
Highlighted
Solution
Accepted by topic author microweb
‎07-11-2017 10:07 AM
All Star
Posts: 699
Registered: ‎11-03-2016

Re: accept hosted for Non-Logged in User

Hi @microweb,

 

You say "we really don't need to store customer information". If you have no need to store customer information on your side or on ours, you don't need to do anything with customer profiles at all. Just use the Accept Hosted payment form without anything relating to customer profiles.

 

If you what you meant was that you don't want to store information on your side, but you do still want us to store it in a profile on our side, you can always check if the profile exists first. The getCustomerProfileRequest allows you to send a customer profile ID OR a merchant's customer ID OR an email address to get the information of the associated customer profile.