简体   繁体   中英

Suregate (Payment gateway) integration using PHP

I am integrating SureGate payment gateway in a website. My client's requirement is to allow direct credit card payments plus payments using tokenization (CardSafe/Storecard). Direct payments are easy but I am facing an issue while implementing the solution using CardSafe. I will have store CardToken in my system in order to make payment next time and for storing card token I need to provide CustomerKey as per the link below. https://secure.suregate.net/paygate/nethelp/default.htm?turl=Documents%2Fprocesscreditcard.htm

Do anyone know from where I can get this value (CustomerKey). Though its mentioned in above link that - - Note: The CustomerKey value can be found on the virtual terminal by accessing the View Customers option under the Recurring Billing menu. Display a list of customers by entering search criteria. The CustomerKey appears in the Key column. - - But my whole process is dynamic and will be completed within website. I will not create customers using Virtual terminal.

One thing which I understood is that we may use ManageCustomer of Recurring Billing Web Services section which may return the CustomerKey in response but again to use ManageCustomer I need CustomerID for which its written that. - - Note: The CustomerID value can be found on the virtual terminal by accessing the View Customers option under the Recurring Billing menu. Display a list of customers by entering search criteria. The CustomerID appears in the Customer ID column. - - As I said that our whole process if dynamic (using our website) and not the Virtual terminal so how to get this CustomerID?

Do anyone having experience of integrating Suregate? Please help.

Thank in Advance,

Thank you for your time guys and sorry for a late response. I figured out my mistake and have solved the issue. In fact the field CustomerID should be provided by me (The developer) and after successful creation of Customer their API will return CustomerKey.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM