Google in app purchase refund api using php - php

Is there any api(Rest) or procedure to refund Google In app product price? Which is provided from Google Play store side.
I am looking for the solution for same, but not got yet. Anybody please guide / suggest me about this.
Thanks in Advance !

In the documentation for Administering In-App Billing, it states this for managed products:
Important: You cannot use the API to issue refunds or cancel In-app Billing transactions. You must do this manually through your Google payments merchant account. However, you can use the API to retrieve order information.
Refunds for in-app purchases must be directed to the app developer. You can then process the refund through your Google payments merchant account.
You can however, use the API to refund and revoke subscriptions,

Yes, you can. See how to authorized first here: https://developers.google.com/android-publisher/authorization
https://developers.google.com/android-publisher/api-ref/rest/v3/orders/refund

Related

Create Paypal Billing Agreement using API

I tried to create Paypal Billing Agreement using API.
Method1:-
I followed below link https://developer.paypal.com/docs/api/payments.billing-agreements/v1/#billing-agreements_post
Here, we found response successfully as mentioned in Doc but in customer Sandbox Account, I could not find any new billing agreement created. (https://www.sandbox.paypal.com/)
Method2:-
I followed below link
To fetch agreement token.
https://verifone.cloud/docs/apm/paypal-show-token-details
To creating billing agreement token.
https://verifone.cloud/docs/apm/paypal-initiate-billing-agreement
To creating billing agreement
https://verifone.cloud/docs/apm/paypal-first-billing-agreement-transaction
Here, we are not able to identity “ppcUid” parameter.
I tried to set the value of “ppcUid” by ‘Paypal merchant Id’ and ‘email Id’ but not getting response as mentioned in Doc.
Note:- When I am trying to create Billing Agreement manually in Magento, then it is rendering successfully in Magento and in Paypal Sandbox Account.
The /v1/payments/billing-agreements API is deprecated. Do not use it.
If you are integrating recurring payments on a schedule, use a Subscriptions integration.
If your use case is not on a schedule but rather arbitrary charges for arbitrary amounts at arbitrary times, your account will need a feature called 'Reference Transactions'. This feature is not available in live without approval from PayPal. The PayPal Business account owner should contact PayPal's general business support (not technical support) to explain the business need for reference transaction billing agreements, and inquire about the service. If the service is approved, PayPal can guide you on which API to implement -- for instance the newest "v2 vault" API rather than one of the deprecated APIs. (if using that newer API, vault is for approval/obtaining a token and then the v2/checkout/orders API can be used to create a transaction with the vault payment token. This only works with reference transactions enabled, hence the requirement)

Paypal Payment REST API and CreditCard Payment

Recently I visited Paypal Rest API page https://developer.paypal.com/docs/integration/direct/payments/. I noticed an IMPORTANT message there please find below screenshot:
If this API now restrict to process Card Payment then Is Billing Plan and Agreement API (for Recurring/Subscription Payment) also restrict Card payment?
Please help me
The ability to process direct credit card transactions via PayPal REST API for new integrations has been restricted. That means that the "payment_method":"credit_card" option is no longer allowed to be use with any new REST API integrations, including for the Billing Plan and Billing Agreement API's.
We apologize for any inconvenience.

Citruspay payment gateway integration with splitpay

Can you please help me regarding citrus pay payment gateway to split the payment using PHP?
I have to split the order amount into 2 parts one for the merchant and one for the seller. If it's possible please provide me a demo.
Thanks in advance.
The steps to integrate SplitPay API -
User Authentication API
Seller API
Transaction API
Settlement API
Transaction release API
Payout API
Refund
You can read the documentation here - https://developers.citruspay.com/documentation/payment-stack/splitpay/
The cURL APIs can be converted into PHP code. You could use this tool - https://incarnate.github.io/curl-to-php/

PHP:transaction using paypal,Master card and Visa card

I am creating a PHP website. Here a portion is customer can pay to website owner from paypal,visa and master card(debit/credit). If transaction successful customer will get a confirmation notification and website owner will also get a confirmation notification.
I did not a work like online transaction before!! What is the best and secure way to do this?
Any help or source code is highly appreciated!!
Take a look at the Paypal API.
for paypal you need to Set up a business account with PayPal and read the documentation for their Express Checkout integration.
for visa and mastercard please check this answer

How to implement authorization the card details and capture the amount later using Google Checkout?

I am trying to integrate Google check out using sandbox as for now. I implemented standard Google checkout process using Google button.I have to change the payment flow.'Do we have the flow like authorization and capture the amount in Google checkout ?' I have done it in both pay pal and a.net payment gateway. I read the documentation in Google checkout which makes me not clear. Kindly give some sample code?
For example, refer this for pay pal
https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_authcapture
Google Checkout Credit Card Authorization and Capture:
http://code.google.com/apis/checkout/developer/Google_Checkout_Basic_HTML_Credit_Card_Authorization.html
http://code.google.com/apis/checkout/developer/Google_Checkout_XML_API_Processing.html#credit_card_authorization
Google Checkout Order States:
http://code.google.com/apis/checkout/developer/Google_Checkout_Basic_HTML_Order_States.html

Categories