Hello,
I am new at Authorize.net and facing some trouble to integrate it with my PHP web-site.
My issues:
1) When i create a customerProfile a payment profile also get created along with it.There is a method to get customerProfileId($response->getCustomerProfileId()). But how to get customerPaymentProfileID?
2) When i create a customerPaymentProfile it is gives success response. but null customerPaymentProfileID.
3) How to get a list of all customerPaymentProfiles by customerProfileId only.
I am using same code as provided in Developer API referance in SANDBOX mode
Please help me with this problem guys.
In Authroize.Net
to get customer payment profile ids for a customer profile id, use this sample code :Sample Code to Get Payment Profile Ids.
And while creating a customer payment profile, it returns a customerPaymentProfile : API Reference,
check the response tab.
For that you need to use $response->getCustomerPaymentProfileId()
Related
I got a problem about the stripe documentation, are they have a support api to get the data like this?
I'm using laravel, and want to create the report data like stripe dashboard.
I'm trying to check the console and see their fetch xhr and they have this
link
but I need login first to stripe dashboard to see the data
so, how I can I get the api for report overview like that?
I've a problem with the Express Checkout REST API : after that the user has approuved the transaction with the paypal form, I call the "execute" method by passing the payment attributs (token, id, payerId,...). In the returned data, the status of the payment is indicated as "approved".
My trouble is that although the payment is well present of the activity list of the sandbox acount that i use for my tests, it still labelised as "pending".
I've tried to use the REST API with the PHP SDK and without the PHP SDK (I'm calling URL's with Curl), I've the same problem !
I'm using the same currency of the default user currency and the manual approbation is well disabled for the user.
I'm working on this problem since 1 month and I can't solve it !
Please, anyone has a solution or a part of response?
Thankz by advance,
Mickaƫl
Now i am working with Google checkout payment.I want to find the payment completion using API callback url,And i need to send an email to the payer,When he complete the payment.Can anyone help me with some example codes.
Use the Notification API to get transaction information back from Google Checkout.
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Notification_API.html
When you get back the notification, you can read your custom ID from the merchant-private-data field.
Source get value return in google checkout
Thanks
For code examples on using the Google Checkout APIs please have a look at the "Client Libraries & Sample Code" section in the Checkout developer documentation:
https://developers.google.com/checkout/samplecode
I am a new developer in php. In a website, I need to implement "Google checkout" payment method. My client give a script with src. I added that script into my website. I got a Google checkout page.
But I don't know how to customize the style of that page
and how to update my database, if the buyer pay the amount using Google checkout. Is there any option like PayPal notify_url? If yes, how to set up such url?
You can get order state notifications using the Checkout Notification API. Start with the doc below:
http://support.google.com/checkout/sell/bin/answer.py?hl=en&answer=134463
then read the full documentation for details:
https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_API
I need to setup a payment method on my website that allows a certain user to pay another via two email address'. So essentially, user1 comes to a page, downloads an invoice and has the option to pay that invoice using a link which redirects to paypal with the prefilled details i.e. payeremail, receiveremail, amt, currencycode. Does anyone know which API call I need to make to do this? All I can really see in the API is for other users to pay my account which I already have setup for another function. Thanks in advance.
You need PayPal IPN, after the payment goes through you will receive following information https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_IPNandPDTVariables
Here is PHP handler for the IPN, http://www.boolcast.com/development/joomla-custom-paypal-ipn
You can also look at other sample code example on PayPal site.